#include
main()
{
char s[] = "Bouquets and Brickbats";
printf("
%c, ",*(&s[2]));
printf("%s, ",s+5);
printf("
%s",s);
printf("
%c",*(s+2));
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }

5 Answers   Amazon, Qualcomm,


being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?

1 Answers   TCS,


what are the different storage classes in c?

0 Answers   TCS,


What is the use of pragma in embedded c?

0 Answers  


cavium networks written test pattern ..

0 Answers   Cavium Networks,






Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

0 Answers   HP,


What is the exact difference between '\0' and ""

3 Answers  


What are Macros? What are its advantages and disadvantages?

0 Answers   TCS,


what will be the out put. #include<stdio.h> void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel

1 Answers   V2 Solutions,


which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..}

4 Answers   TCS,


What is the general form of #line preprocessor?

0 Answers  


What happens if header file is included twice?

0 Answers  


Categories