C programming interview question

Status
Not open for further replies.

rosemary2005

Member level 1
Joined
Nov 3, 2005
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,540
c programming interview question

hi

i have a doubt with functions in C,which was asked for an interview


The beginning and ending of a function is denoted by which one of the following?

1)BEGIN & END
2)( and )
3){ and }
4)[ and ]
5)START & END


pls reply me soon,with the correct answer
 

int Read_ADC()
{
return ADC_DATA_REGISTER;
}

If you can't reply correctly on such an easy question i think that you need to read some C programming books
 

Just do a little "research" on the main function of any C program


#include <stdio.h>

int main()
{

return 0;
}

you see the {}

I think it is necessary for you to search for the book: C in 5 hours

OR if you have some more time : C in 24 hours or C for Dummies!
 

Save your breath. The person is flooding the forum with trivial questions and links, probably just to earn points.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…