C Interview Questions
Questions Answers Views Company eMail

to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

1680

in which language c language is written?

2 4202

how could explain about job profile

1539

write a program to print calender using for loop.

HCL, TCS,

1 3702

print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20

TCS,

8 6993

Write a program to find given number is even or odd without using any control statement.

2 4695

difference between spiral and waterfall model

1 3984

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

HDFC,

5687

coding for Fibonacci.?

1 2735

write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?

Broadcom, TCS,

3 15968

What is true about the following C Functions (a) Need not return any value (b) Should always return an integer (c) Should always return a float (d) Should always return more than one value

DynPro, TCS,

2 7078

how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

Gopaljee, TCS,

1596

1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2421

Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

CMS,

1 15250

write a program in c to print **** * * * * ****

TCS,

1 3167


Post New C Questions

Un-Answered Questions { C }

Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2161


Explain the difference between strcpy() and memcpy() function?

676


how should functions be apportioned among source files?

721


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1726


What is scanf_s in c?

736






How reliable are floating-point comparisons?

721


State the difference between realloc and free.

733


What is equivalent to ++i+++j?

731


What is a program?

776


Where register variables are stored in c?

648


How can you increase the allowable number of simultaneously open files?

682


What is getch?

718


Explain the difference between the local variable and global variable in c?

701


Can a variable be both constant and volatile?

652


What do you mean by scope of a variable in c?

631