Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

IBM C Interview Questions
Questions Answers Views Company eMail

What are Storage Classes in C ?

32 102192

WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?

28 71722

How do I declare a pointer to an array?

6 9463

Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error

8 16430

What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c 9 10358






what will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line no:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1

1 5051

In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT

1 5439

what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these

2 4938

What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these

3 5760

What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation

10 8231

how to convert binary to decimal and decimal to binary in C lanaguage

7 22906

How to use c/c++ code in JAVA

10 15247

how many header file is in C language ?

43 56326

When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these

1 3620

what is difference between ++(*p) and (*p)++

17 16564

Post New IBM C Interview Questions




IBM C Interview Questions


Un-Answered Questions

What is the dagger symbol used for?

97


i want to know details about SBI bank exam and date when to apply and what is the eligibility and the model papers related to it and various post available for Engineering in Information Technology.

1081


What is iis role?

123


How many rows and columns 2017 excel?

22


Can you Explain a Bug life cycle

165






where is plural executive exists in ?

2353


What is autocashrule set? : oracle accounts receivable

168


I have a BPO Experience and working as a Process and Soft Skils TrAINER , BUT THEY CAN ASK ME WHY AFTER TRAINING YOU SELECTED BUSINESS MANAGEMENT ,

1046


Which database is the ado.net?

107


Can any body explain about man and machine calculation? especially in pharma sector.

847


how to calculate duct fittings surface area ?

3226


In which database can extended stored procedures be added?

130


this is Ramu .i am working as sap sd end user.I am joined sap sd course but i am completed my graduation 2011. actually 2005 -2008 my education year. any plausibility to get good ob

1138


Explain the controller in rails?

119


How to run talend jobs on remote server?

1