main()
{
char *a = "Hello ";
char *b = "World";
clrscr();
printf("%s", strcat(a,b));
}
a. Hello
b. Hello World
c. HelloWorld
d. None of the above
Answers were Sorted based on User's Feedback
Its B...
because there is a Space after Hello and then concate second string i.e World
so OUTPUT Hello World
Is This Answer Correct ? | 1 Yes | 0 No |
#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }
main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
What is your nationality?
main() { char *a = "Hello "; char *b = "World"; clrscr(); printf("%s", strcat(a,b)); } a. Hello b. Hello World c. HelloWorld d. None of the above
Is the following statement a declaration/definition. Find what does it mean? int (*x)[10];
How we print the table of 2 using for loop in c programing?
what is the code of the output of print the 10 fibonacci number series
#include<stdio.h> main() { const int i=4; float j; j = ++i; printf("%d %f", i,++j); }
Give a one-line C expression to test whether a number is a power of 2.
Finding a number multiplication of 8 with out using arithmetic operator
Given n nodes. Find the number of different structural binary trees that can be formed using the nodes.
16 Answers Aricent, Cisco, Directi, Qualcomm,
main() { char *p = “ayqm”; char c; c = ++*p++; printf(“%c”,c); }