what is the value of b
if a=5;
b=++a + ++a
Answer Posted / goldy ramnani
13
because 1stly a=5,
then compiler compile fromleft to right,
so ++a means a=6 then
++a a=6 now a=7,lastly 7+6=13
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
List the difference between a While & Do While loops?
What do mean by network ?
What's the difference between constant char *p and char * constant p?
How do you use a pointer to a function?
What are the types of functions in c?
How can I find out if there are characters available for reading?
How can I open a file so that other programs can update it at the same time?
Can include files be nested? How many levels deep can include files be nested?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What is structure in c explain with example?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What is the use of parallelize in spark?
What is time null in c?
Explain what header files do I need in order to define the standard library functions I use?