What is output of the following program ?
main()
{
i = 1;
printf("%d %d %d\n",i,i++,i++);
}
Answer Posted / siva
1 1 2
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Did c have any year 2000 problems?
Can a variable be both static and volatile in c?
What's the total generic pointer type?
What are the different types of data structures in c?
write a program to find the given number is prime or not
How is a macro different from a function?
What would be an example of a structure analogous to structure c?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
How can I manipulate strings of multibyte characters?
What is the maximum length of an identifier?
What are the types of pointers?
What is the need of structure in c?
Write a program to check whether a number is prime or not using c?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
What is the correct code to have following output in c using nested for loop?