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

what will be the output?
}

Answer Posted / gowtham

complier error

Is This Answer Correct ?    13 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between struct and typedef struct in c?

655


Explain how can I convert a string to a number?

643


Tell me is null always defined as 0(zero)?

670


Explain the use of bit fieild.

712


what are bit fields in c?

601






a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2333


What is pre-emptive data structure and explain it with example?

3208


Explain how do you determine whether to use a stream function or a low-level function?

625


What does it mean when the linker says that _end is undefined?

629


What is the c value paradox and how is it explained?

573


Explain the meaning of keyword 'extern' in a function declaration.

720


What is the usage of the pointer in c?

606


What is the difference between #include

and #include “header file”?

550


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

640


What is a rvalue?

747