#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 return in c programming?

0 Answers  


What is the need of structure in c?

0 Answers  


Write a program in c to print 1 121 12321 1234321 123454321

11 Answers   ANR, College School Exams Tests, Mu Sigma, Wipro,


What is static and volatile in c?

0 Answers  


class foo { public: static int func(const char*& p) const; }; This is illegal, why?

8 Answers   Google,






Explain about C function prototype?

0 Answers  


how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; q=q+y b.p=p+xq=q+y c.p=p+xq; q=q+y d.p=p+x/q=q+y

4 Answers   TCS,


f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?

5 Answers   Geometric Software,


here is a link to download Let_Us_C_-_Yashwant_Kanetkar

3 Answers   Microsoft,


what is the output of the following program? main() { int c[]={2,8,3,4,4,6,7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf("%d",*c); ++q; } for(j=0;j<5;j++) { printf("%d",*p); ++p; } }

4 Answers  


What is file in c language?

0 Answers  


#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"maddimsetti"}; s1[]=s[]; printf("%s",s1[]); }

3 Answers   IBM,


Categories