Why use int main instead of void main?
No Answer is Posted For this Question
Be the First to Post Answer
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is a MAC Address?
what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }
who did come first hen or agg
Is null a keyword in c?
Why is c so powerful?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
Differentiate between functions getch() and getche().
Give me basis knowledge of c , c++...
What are register variables in c?