what is the Output?
int a=4 b=3;
printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++);
printf("%d%d%d%d%d%d",b--,b--,--b,b--,--b,--b);
Answer Posted / mathan kumar .t
6,6,5,5,5,4
0,0,0,1,1,2
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is strcmp in c?
Explain how can I pad a string to a known length?
Can two or more operators such as and be combined in a single line of program code?
What is the difference between text files and binary files?
What are the benefits of c language?
In which language linux is written?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
What is function prototype?
Can we initialize extern variable in c?
What are types of preprocessor in c?
Explain which function in c can be used to append a string to another string?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
How do we declare variables in c?