Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

count the numbers between 100 and 300, that star with 2 and ends with 2

Mind Tree,

5 15506

wat is the difference between array and pointer?

Wipro,

4 6838

how to go with this?

Wipro,

1 3504

what is the need for main function in c?

5 8800

main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }

CSC,

2 6659

main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }

CSC,

3 12047

Program to find largest of three numbers without using comparsion operator?

3 5744

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

2725

errors in computer programmes are called

NET,

1 3989

How can I find leaf node with smallest level in a binary tree?

1 3748

why we are using semicolon at the end of printh statment

HCL,

2 5792

how many errors in c explain deply

2136

64/square(4)

1 4632

write a programming in c language, 1 3 5 7 9 11

NIIT,

2 5837

nic scientist exam

NIC,

1 5555


Post New C Questions

Un-Answered Questions { C }

int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

1090


What do you mean by keywords in c?

1197


How pointer is different from array?

1145


What is c language used for?

1026


How can I read in an object file and jump to locations in it?

1070


Explain how do you convert strings to numbers in c?

1125


Explain what is the stack?

1157


Tell me the use of bit field in c language?

1104


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

1099


What are the types of i/o functions?

1419


Can you tell me how to check whether a linked list is circular?

1496


What is volatile c?

1086


What do you know about the use of bit field?

1098


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

2522


What are pointers really good for, anyway?

1117