what are advantages of U D F?
Answer / manav kothari
You just need to include appropriate header files to use these functions. These are already declared and defined in C ...
| Is This Answer Correct ? | 0 Yes | 0 No |
What are keywords c?
Which are low level languages?
Write a program to show the change in position of a cursor using c
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What is scanf () in c?
How do I use void main?
What is the purpose of type declarations?
find the minimum of three values inputted by the user
what is the value of b if a=5; b=++a + ++a
31 Answers Infosys, TCS, Tech Mahindra,
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
Explain how do I determine whether a character is numeric, alphabetic, and so on?
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,