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 / anjana jayaraj
only answer d is correct
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which function in C can be used to append a string to another string?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
How do you use a 'Local Block'?
Why is %d used in c?
Explain what are the different file extensions involved when programming in c?
What’s a signal? Explain what do I use signals for?
Which are low level languages?
How do you view the path?
Explain the difference between malloc() and calloc() in c?
In C language what is a 'dangling pointer'?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What is atoi and atof in c?
Explain what is wrong with this program statement?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.