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 is int main () in c?
typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?
what is the difference between #include<> and #include”…”?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
can we declare a function in side the structure?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
How to print "Hi World" without using semi colon?
fn f(x) { if(x<=0) return; else f(x-1)+x; }
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
why we are using float in C
What is auto keyword in c?
Explain what is the benefit of using an enum rather than a #define constant?