what will be the output of this program?
void main()
{
int a[]={5,10,15};
int i=0,num;
num=a[++i] + ++i +(++i);
printf("%d",num);
}
Answer Posted / abc
initially i=0;
num=a[++i]+ ++i + ++i;
num=a[1]+2+3
num=10+2+3=15
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
Write a code to remove duplicates in a string.
Why is sizeof () an operator and not a function?
What are the different categories of functions in c?
What are the types of type qualifiers in c?
if p is a string contained in a string?
Explain how do you search data in a data file using random access method?
How do I copy files?
Why do we use null pointer?
Is main is a keyword in c?
What is the use of typedef in structure in c?
Why do we use return in c?
What is bss in c?
What is the use of sizeof?
What is structure in c definition?