C Interview Questions
Questions Answers Views Company eMail

what is compiler

6 4695

main() { printf(5+"Vidyarthi Computers"); }

6 6365

how many error occurs in C language ?

Infosys, Wipro,

22 29903

how many times of error occur in C

11 7741

no consistent academics. how to answer the question


how many header file is in C language ?

IBM, IMS, Wipro, ME, CTS, Infosys, College School Exams Tests, Sign Solutions, XVT,

43 47740

How can I implement opaque (abstract) data types in C? What's the difference between these two declarations? struct x1 { ... }; typedef struct { ... } x2;

2 6655

Suppose I want to write a function that takes a generic pointer as an argument and I want to simulate passing it by reference. Can I give the formal parameter type void **, and do something like this? void f(void **); double *dp; f((void **)&dp);

1 1649

what is the differance between pass by reference and pass by value.


7 6805

what is the difference between arrays and linked list

MAHINDRA, Tech Mahindra, Wipro,

26 69861

There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables.

MBT, Cisco, Google,

15 16598

Write a programme to find even numbers without using any conditional statement?

Infosys, ADD Software,

3 7850

Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms

Convex Digital,

5 5861

Software Interview Questions


1 2180

How do you write a program which produces its own source code as its output?

4 7086

Post New C Questions

Un-Answered Questions { C }

what is a function method?give example?


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software


Difference between Shallow copy and Deep copy?


how can use subset in c program and give more example


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.


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.


show how link list can be used to repersent the following polynomial i) 5x+2


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


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..


application attempts to perform an operation?


write a program to print data of 5 five students with structures?


what are bit fields? What is the use of bit fields in a structure declaration?