main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / prakruthi
ryt answer is 3 for sure
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How can a process change an environment variable in its caller?
What do the functions atoi(), itoa() and gcvt() do?
What functions are used in dynamic memory allocation in c?
Write a C program in Fibonacci series.
How can I invoke another program or command and trap its output?
What is the difference between char array and char pointer?
Can a variable be both static and volatile in c?
What is union in c?
Explain the advantages of using macro in c language?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is c language in simple words?
What is far pointer in c?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none