Develop a routine to reflect an object about an arbitrarily
selected plane
No Answer is Posted For this Question
Be the First to Post Answer
main() { char *str1="abcd"; char str2[]="abcd"; printf("%d %d %d",sizeof(str1),sizeof(str2),sizeof("abcd")); }
main() { int i=10; i=!i>14; Printf ("i=%d",i); }
int a = 10 + 10 .... ,... A = A * A What would be the value of A? The answer is 120!! Could anyone explain this to me.
2 Answers Bosch, eInfochips, HCL, IHCL,
Under linux environment can u please provide a c code for computing sum of series 1-2+3-4+5......n terms and -1+2-3+4-5...n terms..
char *someFun1() { char temp[ ] = “string"; return temp; } char *someFun2() { char temp[ ] = {‘s’, ‘t’,’r’,’i’,’n’,’g’}; return temp; } int main() { puts(someFun1()); puts(someFun2()); }
Write a procedure to implement highlight as a blinking operation
main() { void swap(); int x=10,y=8; swap(&x,&y); printf("x=%d y=%d",x,y); } void swap(int *a, int *b) { *a ^= *b, *b ^= *a, *a ^= *b; }
Printf can be implemented by using __________ list.
How to return multiple values from a function?
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }
main() { char *p; int *q; long *r; p=q=r=0; p++; q++; r++; printf("%p...%p...%p",p,q,r); }
1. const char *a; 2. char* const a; 3. char const *a; -Differentiate the above declarations.