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


Please Help Members By Posting Answers For Below Questions

What is the difference between a function and a method in c?

570


What is typedef struct in c?

593


Explain #pragma statements.

611


What are dangling pointers in c?

651


What is void main () in c?

745






What is dangling pointer in c?

629


What header files do I need in order to define the standard library functions I use?

544


Describe dynamic data structure in c programming language?

611


Which programming language is best for getting job 2020?

618


Explain how do you print an address?

668


In C programming, how do you insert quote characters (‘ and “) into the output screen?

903


How do I use strcmp?

648


Explain about the constants which help in debugging?

859


write a program to generate address labels using structures?

4014


How many types of functions are there in c?

590