Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Programming And data Structure
[closed]
nandini gupta
asked
in
Programming in C
Sep 2, 2018
closed
Sep 8, 2018
by
nandini gupta
268
views
0
votes
0
votes
closed with the note:
These type of questions are not asked in GATE
x =2;
y = ((++x)* (++x)*(++x));
what is the value of y after the execution of above C code?
nandini gupta
asked
in
Programming in C
Sep 2, 2018
closed
Sep 8, 2018
by
nandini gupta
by
nandini gupta
268
views
comment
Follow
share this
share
1 comment
by
Shaik Masthan
commented
Sep 2, 2018
reply
Follow
share this
close your question, due to it is Undefined Behaviour in C
Note that these type of questions doesn't ask in GATE
2
2
Please
log in
or
register
to add a comment.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
1
answer
1
Souvik33
asked
in
Programming in C
Jan 29, 2023
452
views
Programming and Data Structure | Static int | Made Easy Test series (Modified)
Consider the following C code snippets, labeled as P1, P2 and P3, the output of P1 is X , of P2 is Y and of P3 as Z . What is the value of X+Y+Z P1 #include <stdio.h> int f(int n) { static int r=40; if (n==0 | ... 1,r)-r; } else return f(n-1,r)+(2*r); } int main() { printf("%d",f(6,40)); return 0; }
Souvik33
asked
in
Programming in C
Jan 29, 2023
by
Souvik33
452
views
data-structures
programming-in-c
0
votes
0
votes
0
answers
2
air1ankit
asked
in
Programming in C
Jul 12, 2018
578
views
programming and data structure
que--Study the following program written in a block structured language. var p, q : integer; begin p:= p+q; q:= p−q; p:= p−q; end; (a) exchanges (p) and (q) (b) doubles (p) and stored in (q) (c) doubles (q) and stores in (p) (d) leaves (p) and (q) unchanged
air1ankit
asked
in
Programming in C
Jul 12, 2018
by
air1ankit
578
views
programming-in-c
data-structures
algorithms
3
votes
3
votes
1
answer
3
Ravi prakash pandey
asked
in
Programming in C
Nov 12, 2017
640
views
programming and data structure
what wil be sizeof(void) and sizeof(void *)
Ravi prakash pandey
asked
in
Programming in C
Nov 12, 2017
by
Ravi prakash pandey
640
views
programming-in-c
0
votes
0
votes
2
answers
4
neha singh
asked
in
Programming in C
Aug 21, 2017
330
views
Programming and data structure
Inserting N elements into empty binary heap takes O(n) time.Is this statement is correct anf if yes please elaborate
neha singh
asked
in
Programming in C
Aug 21, 2017
by
neha singh
330
views
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Programming
(4.1k)
Programming in C
(4.1k)
Programming in Python
(5)
DS
(2.0k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy