main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / revathi
Correct Answer is 3.
Do not post wrong answer.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain about the constants which help in debugging?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
write a program to create a sparse matrix using dynamic memory allocation.
What is the use of printf() and scanf() functions?
What are categories used for in c?
What is main function in c?
How can I open files mentioned on the command line, and parse option flags?
How can you read a directory in a C program?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Why is %d used in c?
Why string is used in c?
What is default value of global variable in c?
Can you tell me how to check whether a linked list is circular?
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.