How can you relate the function with the structure? Explain
with an appropriate example.
No Answer is Posted For this Question
Be the First to Post Answer
main() { char *p = “ayqm”; char c; c = ++*p++; printf(“%c”,c); }
void pascal f(int i,int j,int k) { printf(“%d %d %d”,i, j, k); } void cdecl f(int i,int j,int k) { printf(“%d %d %d”,i, j, k); } main() { int i=10; f(i++,i++,i++); printf(" %d\n",i); i=10; f(i++,i++,i++); printf(" %d",i); }
respected sir, i did my MCA in 2013 when i am going to attend to an interview i was asked about my project how will i explain my project could please help me in this and my project title is "Social Networking Site For Social Responsibility"
main() { register int a=2; printf("Address of a = %d",&a); printf("Value of a = %d",a); }
main() { int i = 257; int *iPtr = &i; printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) ); }
void main() { if(~0 == (unsigned int)-1) printf(“You can answer this if you know how values are represented in memory”); }
Given a list of numbers ( fixed list) Now given any other list, how can you efficiently find out if there is any element in the second list that is an element of the first list (fixed list)
3 Answers Disney, Google, ZS Associates,
#include<stdio.h> main() { register i=5; char j[]= "hello"; printf("%s %d",j,i); }
All the combinations of prime numbers whose sum gives 32
main() { unsigned int i=10; while(i-->=0) printf("%u ",i); }
main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }
String copy logic in one line.