Write one statement equalent to the following two statements
x=sqr(a);
return(x);
Choose from one of the alternatives
a.return(sqr(a));
b.printf("sqr(a)");
c.return(a*a*a);
d.printf("%d",sqr(a));
Answer Posted / priyanka nigam
return(sqr(a)); is the ans
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
write a c program to calculate sum of digits till it reduces to a single digit using recursion
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
Why we use stdio h in c?
What is the use of sizeof () in c?
FILE PROGRAMMING
Explain how can I read and write comma-delimited text?
Why malloc is faster than calloc?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
how can f be used for both float and double arguments in printf? Are not they different types?
Explain about the functions strcat() and strcmp()?
Why pointers are used in c?
Can you pass an entire structure to functions?
What is use of null pointer in c?
What is assert and when would I use it?
How can I pad a string to a known length?