C Interview Questions
Questions Answers Views Company eMail

What is Bitwise Operator and how it works?

1 2118

is assignment operator is arithmatic or not

Infosys,

3 2945

What is the difference between test design and test case design?

791




void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }

Infosys, Wipro, C DAC, CDAC,

5 14365

enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?

TCS,

4 3991

int main() { int x = (2,3,4); int y = 9,10,11; printf("%d %d",x,y); } what would be the output?

Wipro, Parimal,

7 6320

WRITE A C PROGRAM FOR PRINT "RHOMBUS" STRUCTURE . Example: Enter the numbers :3 * * * * * * * *

TCS, Infosys,

3 13018

Why can't we initialise member variable of a strucutre

1 1685




what is bit rate & baud rate? plz give wave forms

768

what are bps & baud rates? differentiate these two?

TCS,

2 2506

write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+

Reliance,

1 2418

write a c program to calculate the income tax of the employees in an organization where the conditions are given as. (I.T. = 0 if income <100000 I.T = 10% if income _< 200000 it = 20% if income >_ 200000)

Satyam, FD, JK Associates, Kobe, Consultancy, DBU,

6 63005

write a program to create a sparse matrix using dynamic memory allocation.

3489

What are the different types of pointers?

HCL, TCS,

4 4553

in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000

2 9511


Post New C Questions






Un-Answered Questions { C }

i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

760


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

684


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

4336


A set of N billiard balls are set on a one-dimensional table. The table is 1 meter long, set north-south with two pockets at either side. Each ball has zero width and there is no friction so it is moving with a fixed velocity of either northward or southward and bounces back in a perfect elastic collision from other balls it encounter on its way (or drop into one of the pockets). Your job is to keep track of the balls movements. Task Please write a program that gets the initial place, speed and direction of all the balls and gives the position of a specific ball after t seconds. Input The first line contains the number of scenarios. Each one of the other lines in the input contains a scenario: The first number, N, is the number of balls; followed by N pairs of numbers: the distance in centimeters from the south end of the table and the speed (positive speed meaning it moves northward); the last two numbers are the number i of the target ball you should track and the time T in seconds. Output The output is a single number for each line which is the place (distance in centimeters from the south end of the table) of the tracked ball after T seconds. Note: There is no new line character at the end of the result. Sample Input 5 1 50 1 1 1000 1 50 1 1 6 1 60 -2 1 6 2 10 1 95 -1 2 30 2 10 1 95 -1 2 60 Sample Output 100 56 48 65 70

1309


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1103






what is the basis for selection of arrays or pointers as data structure in a program

2996


Which driver is a pure java driver

173


write a progrmm in c language take user interface generate table using for loop?

805


`write a program to display the recomended action depends on a color of trafic light using nested if statments

866


write a program to create a sparse matrix using dynamic memory allocation.

3489


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

1064


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

727


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

2089


Difference between Shallow copy and Deep copy?

832


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

1551