C Interview Questions
Questions Answers Views Company eMail

How do you access command-line arguments?

1 2717

what does ‘#include’ mean?

TCS,

1 4414

what is the difference between #include<> and #include”…”?

5 5574

what are # pragma staments?

1615

what is the most appropriate way to write a multi-statement macro?

1 4122

what is the disadvantage of using macros?

Wipro,

1 5445

what is the self-referential structure?

1 4691

can a union be self-referenced?

1 7254

What is a pointer?

ADP, IFFCO,

1 3768

What is the Lvalue and Rvalue?

2 5857

what is a void pointer?

2 3702

why arithmetic operation can’t be performed on a void pointer?

1 6966

compare array with pointer?

1 3541

what is a NULL pointer?

2 3483

what does ‘segmentation violation’ mean?

1 3496


Post New C Questions

Un-Answered Questions { C }

Write a program to reverse a linked list in c.

632


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2296


a program that can input number of records and can view it again the record

1474


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

613


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

583






Explain what are the different data types in c?

745


What are the 4 types of unions?

598


What is the full form of getch?

573


Explain what are binary trees?

600


Why do we use pointer to pointer in c?

586


Write a program to generate the Fibinocci Series

650


What is the function of this pointer?

660


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

590


What are variables and it what way is it different from constants?

773


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

1617