#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / nb
i = 2 (i dont change)
j = 6 (++i = 3 and in i++ increments after calculating j )
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
How does sizeof know array size?
What does the characters “r” and “w” mean when writing programs that will make use of files?
What is c programing language?
Explain how do you sort filenames in a directory?
Which built-in library function can be used to match a patter from the string?
When we use void main and int main?
Why is sizeof () an operator and not a function?
Can a pointer be volatile in c?
What are the different file extensions involved when programming in C?
Why enum is used in c?
What does c mean before a date?
hi send me sample aptitude papers of cts?
What is file in c preprocessor?
List some of the dynamic data structures in C?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..