Write a c program to demonstrate character and string constants?
What should malloc() do?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
how the compiler treats any volatile variable?Explain with example.
How do we print only part of a string in c?
How do you define CONSTANT in C?
What is stack in c?
How is actual parameter different from the formal parameter?
How can I call a function, given its name as a string?
what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }
declare afunction pointer to int printf(char *)?
What are the advantages and disadvantages of a heap?
the maximum width of a c variable name can be a) 6 characters b) 8 characters c) 10 characters d) 20 characters