main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / raj
3 is correct answer
| Is This Answer Correct ? | 24 Yes | 7 No |
Post New Answer View All Answers
What is file in c preprocessor?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What is the maximum length of an identifier?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What are the 5 types of organizational structures?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is the difference between formatted&unformatted i/o functions?
Explain what is the concatenation operator?
Explain how do you generate random numbers in c?
Explain why c is faster than c++?
What are qualifiers and modifiers c?
What is the difference between far and near ?
What is the difference between arrays and pointers?
What is calloc malloc realloc in c?
What are the different types of C instructions?