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
Are the variables argc and argv are local to main?
How to delete a node from linked list w/o using collectons?
What is build process in c?
What is the difference between fread buffer() and fwrite buffer()?
What is ctrl c called?
Write a program to check palindrome number in c programming?
What is c++ used for today?
What is time null in c?
Explain how can you check to see whether a symbol is defined?
Can we declare variables anywhere in c?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
Does * p ++ increment p or what it points to?
Explain union.
What are the salient features of c languages?
What is scanf_s in c?