Answer Posted / subhaja krishnan k u
dennis ritchie at AT & T labs
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
How to declare pointer variables?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Why we use stdio h in c?
Do variables need to be initialized?
Does c have an equivalent to pascals with statement?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
When should a type cast be used?
What are the various types of control structures in programming?
What is local and global variable in c?
Is c is a low level language?
what are bit fields in c?
How can I read a binary data file properly?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
Is it possible to pass an entire structure to functions?