C Interview Questions
Questions Answers Views Company eMail

What are Storage Classes in C ?

TATA, TCS, CTS, IBM, Wipro, HP, Tamil Nadu Open University TNOU, Maharaja Whiteline,

32 91057

How the processor registers can be used in C ?

HP,

7 9553

What is an volatile variable?

HP,

15 25039




How to access or modify the const variable in c ?

HP, HCL,

16 24030

What is structure padding ?

HP,

3 23653

What is structure packing ?

HP,

2 10271

How to implement call back functions ?

HP,

3 6075

What is an anonymous union and where to apply that ?

HP,

3 6192




How to implement variable argument functions ?

HP,

1 5837

What are advantages and disadvantages of recursive calling ?

HP, College School Exams Tests, Jyoti Ltd, Sage, Wipro, Evolving Systems,

12 85226

How the C program can be compiled?

HP,

10 9781

What are the preprocessors?

HP,

8 9267

what are the various memory handling mechanisms in C ?

HP,

4 7409

what is a function pointer and how all to declare ,define and implement it ???

Honeywell,

4 7240

Give a fast way to multiply a number by 7

Microsoft, Aricent, Accenture,

15 36565


Post New C Questions






Un-Answered Questions { C }

#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

2260


what are the 10 different models of writing an addition program in C language?

619


plz let me know how to become a telecom protocol tester. thank you.

913


what is ur strangth & weekness

970


You have given 2 array. You need to find whether they will create the same BST or not. For example: Array1:10 5 20 15 30 Array2:10 20 15 30 5 Result: True Array1:10 5 20 15 30 Array2:10 15 20 30 5 Result: False One Approach is Pretty Clear by creating BST O(nlogn) then checking two tree for identical O(N) overall O(nlogn) ..we need there exist O(N) Time & O(1) Space also without extra space .Algorithm ?? DevoCoder guest Posted 3 months ago # #define true 1 #define false 0 int check(int a1[],int a2[],int n1,int n2) { int i; //n1 size of array a1[] and n2 size of a2[] if(n1!=n2) return false; //n1 and n2 must be same for(i=0;ia1[i+1]) && (a2[i]>a2[i+1]) ) ) return false; } return true;//assumed that each array doesn't contain duplicate elements in themshelves }

1804






how many errors in c explain deply

804


how do you programme Carrier Sense Multiple Access

733


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

591


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

128


What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }

144


write a program to print largest number of each row of a 2D array

1053


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

2756


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

648


What is the difference between test design and test case design?

703


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

914