C Interview Questions
Questions Answers Views Company eMail

Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.


What is the difference between void main() and void main (void) give example programme?


What is the proper way of these job Tell me about there full work



Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.


write a reverse string to print a stars.(with out using logic) ***** **** *** ** *

2 859

What will be the result of the following C language program? main() { int a = 0; int b = 20; char x = 1; char y = 10; if(a,b,x,y) printf("Welcome"); }

1 800

main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }


6 5822

The program to allow the characters from the input received and send this function to a function check if the characters between letters a to z is a function of y joins as the characters main and output to otherwise return to the original function of the y characters


Write a program that receives as input a number omaadel-n-print, four digits.


Table of Sudoku n*n


Magic square


Eight queens puzzle


Write a program that his output * *** *****

1 744

Write a program that his output 1 12 123


A program to write a number of letters and numbers, such as counting and display


Post New C Questions

Un-Answered Questions { C }

Stimulate calculator using Switch-case-default statement for two numbers


how to find binary of number?


Hai what is the different types of versions and their differences


in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....


write a proram to reverse the string using switch case?


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)


#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }


What is pre-emptive data structure and explain it with example?


diff between exptected result and requirement?


what is the structure pointer?


can anyone suggest some site name..where i can get some good data structure puzzles???


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures