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.

1738

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

768

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

EDS,

699




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.

1299

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

2 1072

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 1028

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

Vector,

6 8855

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

619




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

633

Table of Sudoku n*n

721

Magic square

657

Eight queens puzzle

665

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

1 970

Write a program that his output 1 12 123

699

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

690


Post New C Questions






Un-Answered Questions { C }

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

706


code for find determinent of amatrix

718


code for quick sort?

886


using for loop sum 2 number of any 4 digit number in c language

929


i have a written test for microland please give me test pattern

1477






what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1120


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1151


how could explain about job profile

762


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

720


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

4124


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.

1397


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

586


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1229


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

857


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3033