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 20559

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

2 1734




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

ABC,

1 2997

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

2 1741

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

3 3622

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 1996

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 2654




Write a c program using for loop in switch case?

Infosys,

1 4521

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

IBM, TCS,

723

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

1 2228

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

794

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

Wipro,

1 1938

how to find sum of 5 digits in C?

4 3144

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

1 1994


Post New C Questions






Un-Answered Questions { C }

what is the different bitween abap and abap-hr?

912


which is an algorithm for sorting in a growing Lexicographic order

585


How to establish connection with oracle database software from c language?

871


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

365


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

883






One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

1281


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

795


number of times a digit is present in a number

731


what is ur strangth & weekness

988


how to capitalise first letter of each word in a given string?

667


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

1658


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

5270


How to implement a packet in C

1527


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

999


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1006