what is the value of b
if a=5;
b=++a + ++a
Answer Posted / madhu cherukuri
a=5
b=++a +++a;
ANS:14
in this case the data will be storing in CPU register so the
result is 14 only.
volatile int a=5;
b=++a + ++a;
ANS:13
the data will be stored in directly memory
| Is This Answer Correct ? | 33 Yes | 15 No |
Post New Answer View All Answers
How do I read the arrow keys? What about function keys?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
List some of the dynamic data structures in C?
When the macros gets expanded?
Is linux written in c?
Explain what is the use of a semicolon (;) at the end of every program statement?
Can you tell me how to check whether a linked list is circular?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
what does static variable mean?
How do you override a defined macro?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
if p is a string contained in a string?
Differentiate Source Codes from Object Codes
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include