Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

Wilco,

1808

What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

Wilco,

1222

What does. int *x[](); means ?

Wilco,

1132

a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

Wilco,

1191

main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

Wilco,

1202

main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

Wilco,

1642

main() { printf("hello"); fork(); }

Wilco,

1247

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); }

Wilco,

1506

typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

Wilco,

1684

Differentiate between null and void pointers.

TCS,

1226

Explain the difference between null pointer and void pointer.

TCS,

1129

Explain the Difference between the New and Malloc keyword.

InterGraph,

1185

The statement, int(*x[]) () what does in indicate?

1201

find the sum of two matrices and WAP for it.

Huawei,

1194

Write a program with dynamically allocation of variable.

Atos Origin,

1179


Post New C Questions

Un-Answered Questions { C }

What is function prototype in c with example?

1159


What is a pointer in c?

1688


What is #error and use of it?

1344


Is c pass by value or reference?

1099


What are the functions to open and close the file in c language?

1083


What is break in c?

1098


What is the right type to use for boolean values in c? Is there a standard type?

1056


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

6018


What is the 'named constructor idiom'?

1144


What is the best way of making my program efficient?

1080


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1160


What are the standard predefined macros?

1202


How do we print only part of a string in c?

1078


What is wrong in this statement?

1213


What is local and global variable in c?

1248