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

2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

Accenture,

3 6630

3. 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

Accenture,

2175

4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

Accenture,

6 13567

5. What kind of sorting is this: SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]

Accenture,

2 6413

6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

Accenture,

2 6741

7. Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above

Accenture,

10 13792

10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning

Accenture,

5 10961

11. Look at the Code: #include void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

Accenture,

7 15203

12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV

Accenture,

4 7909

write the program for prime numbers?

Accenture, Aptech, Infosys, TCS,

73 281925

write the program for maximum of the following numbers? 122,198,290,71,143,325,98

5 7772

write a program for even numbers?

TCS,

19 32164

write a program for odd numbers?

15 29413

Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2693

Predict the output or error(s) for the following: 25. main() { printf("%p",main); }

Google, ME,

3 14089


Post New C Questions

Un-Answered Questions { C }

What is wild pointer in c?

1078


What is the difference between ++a and a++?

1215


What is a structural principle?

1170


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

1126


What is volatile keyword in c?

1037


Are there namespaces in c?

1133


How do you do dynamic memory allocation in C applications?

1089


How do I create a directory? How do I remove a directory (and its contents)?

1173


What is the difference between class and object in c?

1178


What is property type c?

1092


What are the different types of constants?

1077


In which layer of the network datastructure format change is done

1890


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1726


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

1637


What is pass by value in c?

1073