C Interview Questions
Questions Answers Views Company eMail

write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list



Explain the process of converting a Tree into a Binary Tree.



List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.



how would a 4*3 array A[4][3] stored in Row Major Order?

HCL, Ignou,


what is the different between data structure and data type?


1 2147

what is data structure?


5 2806

show how link list can be used to repersent the following polynomial i) 5x+2



develop algorithms to add polynomials (i) in one variable

TCS, Ignou,


write an algorithm and a program to count the number of elements in a circularly singly linked list


1 9604

Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining .

State Bank Of India SBI,

4 3603

what would be the output of the follwing struct st { char name[20]; int i; float f; }; main() { struct st emp = {"forum"}; printf("%d %f",emp.i,emp.f); }

4 2323

Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.

2 7870

/*program to calculate hra,da in salary if salary less than 10000 then hra15%,da13% otherwise hra20%,da18%/*

6 9693

though sbi was nationalized why its not comes under nationalized banks and its comes under publicsector banks

State Bank Of India SBI,

3 11065

please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch

2 2644

Post New C Questions

Un-Answered Questions { C }

all c language question


can we change the default calling convention in c if yes than how.........?


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.


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


what is the significance of static storage class specifier?


write a program in c language to print your bio-data on the screen by using functions.




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?


show how link list can be used to repersent the following polynomial i) 5x+2


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.


i got 75% in all semester am i eligible for your company


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.


write a program to find the given number is prime or not


in linking some of os executables are linking name some of them


how can use subset in c program and give more example