main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}

what will be the output?
}

Answer Posted / vyasaraj.s

The output is 3

Is This Answer Correct ?    21 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2974


What is memcpy() function?

615


Is it cc or c in a letter?

553


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1657


What is the significance of c program algorithms?

674






What is function prototype in c with example?

565


What is the code in while loop that returns the output of given code?

1286


What is pointer and structure in c?

558


What are dangling pointers? How are dangling pointers different from memory leaks?

611


What is a nested formula?

597


What is the difference between procedural and declarative language?

638


What is the difference between malloc() and calloc() function in c language?

590


a program that can input number of records and can view it again the record

1476


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1722


Explain goto?

705