#include<stdio.h>
int main(){
int a=5;
printf("%d %d %d",a++,a++,++a);
return 0;
}..please explain me output 7 6 8..Thnx in advance
Answer / abhijeet ankush gate rank 416
correct output is 766
explaination
printf function is right associative and starts reading from
right which is ++a.
in ++a value is 1st incremented and then printed
in a++ value is 1st printed and then incremented...
Is This Answer Correct ? | 10 Yes | 11 No |
I an doing Engineering in IT(4th year). i want to know what is the scope or .NET and Linux, and which is better for carrier
What is the 911 point?
Whatis Bandwidth?
what are purchase order , sales order idoc names and idoc types
How to trouble of routing protocol like EIGRP and OSPF
why c is called middle level langauge?
PREVIOUS AND NEW companies positive and negative points AFTER LIVING
Write a Java program that takes an integer from the user and extracts and displays each digit of the integer in English. So, if the user types in 932, the program will display nine three two. [Use SimpleInput class]
A man, a woman, and a child can do a piece of work in 6 days. Man only can do it in 24 days. Woman can do it in 16 days and in how many days child can do the same work? (WITH EXPLANATION)
multithreading??
Email bombing is
am looking for ms,i got ielts score 5.5,and i dont have english score 60 in any any year.tell me can i get offer lettr from any university.is i am elegible..?