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
Answers were Sorted based on User's Feedback
Answer / 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 |
To find whether a number is even or odd without using any conditional operator??
12 Answers College School Exams Tests, IBM,
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
wats SIZE_T meant for?
Why should I use standard library functions instead of writing my own?
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
What's a "sequence point"?
What are the advantages of the functions?
What does the c in ctime mean?
what are the difference between ANSI C and Let Us c and Turbo C
What is the size of array float a(10)?
How can I use a preprocessorif expression to ?
Why c is called object oriented language?