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
Can 'this' pointer by used in the constructor?
What is typedef?
Explain what is the use of a semicolon (;) at the end of every program statement?
What is %lu in c?
Why do we use namespace feature?
What are static variables in c?
What is a #include preprocessor?
What are the string functions? List some string functions available in c.
What are 'near' and 'far' pointers?
What is the difference between test design and test case design?
What are the different types of pointers used in c language?
How to write a multi-statement macro?
Can a program have two main functions?
What is atoi and atof in c?
What is multidimensional arrays