What is the o/p of the follow pgm?
#include<stdio.h>
main()
{
char char_arr[5]=”ORACL”;
char c=’E’;
prinf(“%s\n”,strcat(char_arr,c));
}
a:oracle
b. oracl
c.e
d.none
Answer Posted / sadanand
error in program... strcat is used to concatinate 2 strings.
in above program c is char and not string so compilation error
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Differentiate between static and dynamic modeling.
Explain what is gets() function?
Why is #define used?
What is the difference between null pointer and wild pointer?
please explain every phase in the "SDLC" in the dotnet.
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is the collection of communication lines and routers called?
Is file a keyword in c?
What is volatile keyword in c?
How can I call a function with an argument list built up at run time?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
How many levels of pointers can you have?
What is union and structure in c?
Why do some versions of toupper act strangely if given an upper-case letter?
How the c program is executed?