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

How to print all the 26 alphabets in this order in C. AbCdEfGh..... it should print dynamically from a to z and do not print this using pgm like this print("Ab......"); Use loops or anything to print all alphabets

Hexaware,

2 7011

why we wont use '&' sing in aceesing the string using scanf

HCL,

2377

process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

InterGraph,

2438

There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.

HCL, iGate,

1 5254

in linking some of os executables are linking name some of them

IBM,

2146

difference between native and cross compilers

2140

2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

2929

when i declare as: void main() { clrscr(); int a=10; printf("%d",a) } my problem that why generate a error in above programs. please tell me answer seriously .

4 11908

Develop a program that computes the new price of an item. The program should receive a character variable colour and a double precision floating-point variable price from the user. Discount rate is determined based on the colour of the discount sticker, as shown in the following table. An error message should be printed if an invalid colour has been entered

1 4039

#include main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }

HCL,

7 27751

#include main(0 { printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3)); }

HCL,

4 11744

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?

KPIT,

2466

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. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

KPIT,

3235

program for swapping two strings by using pointers in c language

1 11603

say the following declaration is correct nr not. int b=a,n=0;

Wipro,

4 5703


Post New C Questions

Un-Answered Questions { C }

What is the use of function overloading in C?

1182


What do you mean by recursion in c?

1119


Is it better to use malloc() or calloc()?

1125


How are structure passing and returning implemented?

1052


Explain what does the format %10.2 mean when included in a printf statement?

1368


What is scope and lifetime of a variable in c?

1080


What is a ternary operator in c?

1131


Can a pointer be static?

1091


Why is event driven programming or procedural programming, better within specific scenario?

2447


What is volatile c?

1026


Write a program to print "hello world" without using a semicolon?

1071


What are c identifiers?

1104


Why is it that not all header files are declared in every C program?

1230


How can I write a function that takes a format string and a variable number of arguments?

1065


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

1119