Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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.

2378

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

1075

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

EDS,

947

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.

1807

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

2 1494

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 1398

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

Vector,

8 14281

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

901

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

888

Table of Sudoku n*n

1042

Magic square

931

Eight queens puzzle

920

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

1 1354

Write a program that his output 1 12 123

960

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

939


Post New C Questions






Un-Answered Questions { C }

Explain how can I avoid the abort, retry, fail messages?

157


What is #line in c?

138


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

188


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

151


What is difference between union and structure in c?

162






What is the size of empty structure in c?

126


How do you define a string?

190


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

194


What is difference between Structure and Unions?

195


What do you mean by a local block?

196


How can I change the size of the dynamically allocated array?

164


What is the description for syntax errors?

162


Compare and contrast compilers from interpreters.

191


what is event driven software and what is procedural driven software?

1563


Why clrscr is used in c?

149