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 / babu ba
6
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What does typeof return in c?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What is build process in c?
Explain what are compound statements?
What is derived datatype in c?
Should I learn data structures in c or python?
What are dangling pointers? How are dangling pointers different from memory leaks?
What is the difference between volatile and const volatile?
please explain every phase in the "SDLC" in the dotnet.
Wt are the Buses in C Language
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is the best way of making my program efficient?
What is the purpose of macro in C language?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is an array in c?