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)

ABC,

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

IBM,

4 2776




Write a c program using for loop in switch case?

Infosys,

1 4624

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

IBM, TCS,

790

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

851

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

Wipro,

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

934


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

1081


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

1027


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

706


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

673






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.

834


find out largest elemant of diagonalmatrix

856


Can you write the algorithm for Queue?

817


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

836


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.

3596


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

219


what is the difference between class and unio?

1112


int far *near * p; means

2223


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

795


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

13066