#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
What is return in c programming?
What is the need of structure in c?
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?
class foo { public: static int func(const char*& p) const; }; This is illegal, why?
Explain about C function prototype?
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
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?
here is a link to download Let_Us_C_-_Yashwant_Kanetkar
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; } }
What is file in c language?
#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"maddimsetti"}; s1[]=s[]; printf("%s",s1[]); }