C Interview Questions
Questions Answers Views Company eMail

main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

Vector Solutions, Vector,

5 22111

struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));

2 1831

m=++i&&++j(||)k++ printf("%d"i,j,k,m)


1 3186

char p="data"; printf(p);

2 1836

read a number & print all its devisors using c-program?

3 3768

get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement

3 2120

input may any number except 1,output will always 1.. conditions only one variable should be declare,don't use operators,expressions,array,structure


4 2776

Write a c program using for loop in switch case?


1 4624

Which is the memory area not included in C program? give the reason



Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

1 2328

what is the height of tree if leaf node is at level 3. please explain


what is level of tree if leaf node is at level 4.please explain.


1 2046

how to find sum of 5 digits in C?

4 3296

what is ans for this scanf(%%d",c);

1 2100

Post New C Questions

Un-Answered Questions { C }

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


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...


Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.


find out largest elemant of diagonalmatrix


Can you write the algorithm for Queue?


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


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.


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping


what is the difference between class and unio?


int far *near * p; means


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?