What is meant by
int fun const(int a, int b) {
....
...
}
Answer / srv
In function 'fun' we have made variable a & b constant.
It means we are never going to alter the values of varibles
(a&b).if tried then error will be messaged.
| Is This Answer Correct ? | 5 Yes | 1 No |
What does printf does?
What is the purpose of main() function?
Write a program to generate prime factors of a given integer?
#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?
16 Answers Accel Frontline, Opera, Oracle,
What is null pointer constant?
Is fortran still used in 2018?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }
What is a C array and illustrate the how is it different from a list.
write a program to swap two numbers without using temporary variable?
Explain heap and queue.
What is NULL pointer?