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

C program to read the integer and calculate sum and average using single dimensional array

1708

main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*

1 2672

4. main() { int c=- -2; printf("c=%d",c); }

1 3159

Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...

2 14343

void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1786

In which layer of the network datastructure format change is done

Honeywell,

1944

write a c program for swapping two strings using pointer

2690

cavium networks written test pattern ..

Cavium Networks,

4140

my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1646

what is used instead of pointers in java than c?

Vuram,

1 3691

#include int main(){ int a[]={1,2,3,5,1}; int *ptr=a+4; int y=ptr-a; printf("%d",y); }

Zoho,

3 7169

Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17

3067

main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }

Vector, Vector India,

2 12737

#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1773

print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1

Winit,

1 8534


Post New C Questions

Un-Answered Questions { C }

Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

1473


Can you define which header file to include at compile time?

1071


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

1233


how many errors in c explain deply

2138


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.

2858


What are the two types of structure?

1144


Which is better oop or procedural?

1133


How can you be sure that a program follows the ANSI C standard?

1657


Explain what standard functions are available to manipulate strings?

1127


Compare interpreters and compilers.

1115


What is volatile keyword in c?

1088


What do the functions atoi(), itoa() and gcvt() do?

1245


Explain the use of keyword 'register' with respect to variables.

1098


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


Hi can anyone tell what is a start up code?

2137