C Interview Questions
Questions Answers Views Company eMail

How to develop software using "c" programming?

IBM, TCS,

1 6870

regarding pointers concept

726

what will be the out put. #include void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel

V2 Solutions,

1 2152




write an algorithm and c program to add two 2x2 matrics

2 11766

in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?

NetApp,

2 4029

if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?

NetApp,

2 8265

Q. where is the below variables stored ? - volatile, static, register

Bosch,

3 8813

Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

Bosch,

2 2714




write a program to find the frequency of a number

Infosys,

4 20528

whats the use of header file in c?

2 2587

write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR

5 9897

Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

1194

discuss the steps needed to get a program from source code to executable in a system?

1 2310

Why Modern OS are interrupt driven?Give an example

3 15103

Taking an example,differentiate b/w loader and linker ?

1 3223


Post New C Questions






Un-Answered Questions { C }

Why is it important to memset a variable, immediately after allocating memory to it ?

743


write a c program to find the sum of five entered numbers using an array named number

863


how to make a scientific calculater ?

695


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

523


how to write a c program to print list of fruits in alpabetical order?

663






Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

593


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

704


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

832


diff between exptected result and requirement?

794


what is stack , heap ,code segment,and data segment

1425


Wt are the Buses in C Language

1942


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

808


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


write a proram to reverse the string using switch case?

1369


please give me some tips for the placement in the TCS.

868