guru prasad mohapatra


{ City } cuttack
< Country > india
* Profession * lab assistant
User No # 47778
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 12
Users Marked my Answers as Wrong # 1
Questions / { guru prasad mohapatra }
Questions Answers Category Views Company eMail




Answers / { guru prasad mohapatra }

Question { TCS, 7869 }

main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
}


Answer

first a[0]=23;
a[1]=67;
rest index are assigned 0 0 0.

Is This Answer Correct ?    1 Yes 0 No

Question { HCL, 26011 }

which header file contains main() function in c?


Answer

doesn't require any header file in function main(),

Because nothing else calls main. It is the entry point for
execution.

Is This Answer Correct ?    11 Yes 1 No