#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 are the application of void data type in c?

0 Answers  


a C prog to swap 2 no.s without using variables just an array?

5 Answers   TCS,


if p is a string contained in a string?

0 Answers  


fun(int x) { if(x > 0) fun(x/2); printf("%d", x); } above function is called as: fun(10); what will it print? }

17 Answers   NDS,


Do pointers take up memory?

0 Answers  






List the difference between a 'copy constructor' and a 'assignment operator' in C?

0 Answers   Accenture,


Write a program that his output 1 12 123

0 Answers  


What is getch() function?

0 Answers  


What is the difference between class and object in c?

0 Answers  


How can I implement sets or arrays of bits?

0 Answers  


difference between string and array?

6 Answers  


What are header files why are they important?

0 Answers  


Categories