C Interview Questions
Questions Answers Views Company eMail

p*=(++q)++*--p when p=q=1 while(q<=6)

KINPOE,

489

what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

College School Exams Tests,

453

why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

453




A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

535

difference between Low, Middle, High Level languages in c ?

Bosch, Infosys,

845

Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

XYZ,

995

What is the difference between if else and switchstatement

527

Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?

TCS,

2 894




how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

450

Using which language Test cases are added in .ptu file of RTRT unit testing???

1409

Write a program to generate the first n terms in the series --- 9,11,20,31,...,82

1 4359

print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5

Winit,

3 1418

#include int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }

1 816

How. To pass the entrance test

Tech Mahindra,

1 555

C language questions for civil engineering

Tech Mahindra,

362


Post New C Questions






Un-Answered Questions { C }

`write a program to display the recomended action depends on a color of trafic light using nested if statments

866


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1053


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

10116


Between macros and functions,which is better to use and why?

815


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

868






7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

1271


write a program to create a sparse matrix using dynamic memory allocation.

3490


List the variables are used for writing doubly linked list program.

854


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

874


how many errors in c explain deply

863


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1042


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

684


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

186


int i=10; printf("%d %d %d", i, i=20, i);

194


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

647