any restrictions have on the number of 'return' statements that may be present in a function.
a) no restriction
b) only 2 return statements
c) only 1 return statements
d) none of the above
No Answer is Posted For this Question
Be the First to Post Answer
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
Is it possible to run a c program without using main?If yes HOW??
How do c compilers work?
What are variables and it what way is it different from constants?
How can I read a directory in a C program?
2 Answers Bright Outdoor, Wipro,
What is the difference between typedef struct and struct?
How do you use a 'Local Block'?
Design a program using an array that lists even numbers and odd numbers separately from the 12 numbers supplied by a user.
Explain what is the benefit of using const for declaring constants?
plz let me know how to become a telecom protocol tester. thank you.
WHOT IS CHAR?
What is a memory leak in structures? How can we rectify that?