C Interview Questions
Questions Answers Views Company eMail

ATM machine and railway reservation class/object diagram

Zycus Infotech,

3991

if array a conatins 'n' elements and array b conatins 'n-1' elements.array b has all element which are present in array a but one element is missing in array b. find that element.

Zycus Infotech, Ram Infotech, Parexel,

18 14138

Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?

2 3013




what is the difference between entry control and exit control statement?

Darbari Lal DAV Model School,

12 63275

How to add two numbers with using function?

Miracle Solutions,

2 2308

How to add two numbers with using function?

4 11701

array contains zeros and ones as elements.we need to bring zeros one side and one other side in single parse. ex:a[]={0,0,1,0,1,1,0,0} o/p={0,0,0,0,0,1,1,1}

Google, Motorola,

12 8435

how to print a statement in c without use of console statement ,with the help of if statement it should print

Satyam,

2 2645




main is a predefined or user define function if user defined why? if predefined whay?

TCS,

12 21284

what is a c-language.what is do.

HCL,

4 4890

how to find out the union of two character arrays?

2 3848

what is pointer ?

Kernex Micro Systems,

10 4708

totally how much header files r in c language

TCS,

8 5619

Every time i run a c-code in editor, getting some runtime error and editor is disposing, even after reinstalling the software what may be the problem?

2 1875

Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

683


Post New C Questions






Un-Answered Questions { C }

Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

1927


i have a written test for microland please give me test pattern

1304


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

787


using for loop sum 2 number of any 4 digit number in c language

812


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

797






What is the difference between if else and switchstatement

479


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

1439


Can you write the algorithm for Queue?

762


what is the structure pointer?

878


regarding pointers concept

726


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

773


can anyone please tell about the nested interrupts?

804


Simplify the program segment if X = B then C ← true else C ← false

1751


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

1423


Difference between Shallow copy and Deep copy?

779