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 / kalyan chukka
None
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
can we change the default calling convention in c if yes than how.........?
What is the purpose of void pointer?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
What is static volatile in c?
Write a code of a general series where the next element is the sum of last k terms.
Why we use int main and void main?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Explain about the functions strcat() and strcmp()?
Do you know the difference between exit() and _exit() function in c?
What does %p mean?
What are the keywords in c?
How do we open a binary file in Read/Write mode in C?
Explain what standard functions are available to manipulate strings?
Why c is called procedure oriented language?
What are logical errors and how does it differ from syntax errors?