in case any function return float value we must declare
a) the function must be declared as 'float' in main() as well
b) the function automatically returned float values
c) function before declared 'float' keyword
d) all the above
How do we make a global variable accessible across files? Explain the extern keyword?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is C language ?
What is .obj file in c?
Can you please explain the difference between strcpy() and memcpy() function?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
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?
How many types of operator or there in c?
who is first prime minister in india??
What are logical errors and how does it differ from syntax errors?
Explain what is the purpose of "extern" keyword in a function declaration?
what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }