C Interview Questions
Questions Answers Views Company eMail

write a c program to accept a given integer value and print its value in words

Vernalis Systems,

4 16994

what is the benefit of c30

2 4340

what is the difference between declaration ,defenetion and initialization of a variable?

LG Soft,

7 20968




what do u mean by Direct access files? then can u explain about Direct Access Files?

LG Soft,

943

why we shiuld use main keyword in C

5 5769

What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?

2 5997

what is c?

Tech Mahindra,

7 7134

what is object oriental programing?

1 2796




Give me basis knowledge of c , c++...

5 3337

Give basis knowledge of web designing ...

HCL,

850

without a terminator how can we print a message in a printf () function.

NIIT,

7 5377

Is the C language is the portable language...If yes...Then Why...and if not then what is problem so it is not a Portable language..???

TCS,

2 10122

what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }

4 2927

You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.

Microsoft,

2 4844

what is the code for getting the output as * ** ***

Caritor,

5 3444


Post New C Questions






Un-Answered Questions { C }

how to find anagram without using string functions using only loops in c programming

1924


all c language question

1008


shorting algorithmS

958


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

903


what is uses of .net

522






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

1805


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

3599


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

830


Hi can anyone tell what is a start up code?

879


how to count no of words,characters,lines in a paragraph.

3136


what are the facialities provided by you after the selection of the student.

966


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

996


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

2208


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

846


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

865