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 / girish
15
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When should structures be passed by values or by references?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
When should we use pointers in a c program?
What are identifiers and keywords in c?
What is double pointer?
find out largest elemant of diagonalmatrix
What are valid signatures for the Main function?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
How are pointers declared in c?
What is structure in c language?
The difference between printf and fprintf is ?
What are control structures? What are the different types?
what is stack , heap ,code segment,and data segment
What is static memory allocation? Explain