C Interview Questions
Questions Answers Views Company eMail

Tell me what is null pointer in c?

617

Explain the use of 'auto' keyword in c programming?

685

What is exit() function?

563

Do you have any idea how to compare array with pointer in c?

609

What is calloc() function?

627

What is the general form of #line preprocessor?

592

What is #pragma statements?

594

Do you know the use of 'auto' keyword?

664

What is actual argument?

593

Explain the difference between exit() and _exit() function?

638

Can you please explain the scope of static variables?

608

What is function prototype in c language?

619

What are the preprocessor categories?

641

Tell us the use of fflush() function in c language?

643

What do you know about the use of bit field?

614


Post New C Questions

Un-Answered Questions { C }

why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

647


Why do we use stdio h and conio h?

641


Why is it usually a bad idea to use gets()? Suggest a workaround.

911


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1070


Write a Program to accept different goods with the number, price and date of purchase and display them

5454






What is putchar() function?

640


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

580


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1511


Why doesnt that code work?

604


What is dynamic memory allocation?

812


Why is sizeof () an operator and not a function?

593


What is structure and union in c?

605


What do you mean by dynamic memory allocation in c?

656


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

637


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

636