C Code Interview Questions
Questions Answers Views Company eMail

/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }

4 6034

what is the code of the output of print the 10 fibonacci number series

2 4169

int a = 10 + 10 .... ,... A = A * A What would be the value of A? The answer is 120!! Could anyone explain this to me.

Bosch, eInfochips, HCL, IHCL,

2 6678

why the range of an unsigned integer is double almost than the signed integer.

1 3700

How can you relate the function with the structure? Explain with an appropriate example.

2909

main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }

CSS, Wipro,

2 9352

How do you create a really large matrix (i.e. 3500x3500) in C without having the program crash? I can only reach up to 2500. It must have something to do with lack of memory. Please help!

1 6143

Under linux environment can u please provide a c code for computing sum of series 1-2+3-4+5......n terms and -1+2-3+4-5...n terms..

2 4788

How to use power function under linux environment.eg : for(i=1;i<=n;i++){ pow(-1,i-1)} since it alerts undefined reference to 'pow'.

2 5209

could you please send the program code for multiplying sparse matrix in c????

3061

write a program in c language to get the value of arroy keys pressed and display the message which arrow key is pressed?

1 4053

{ int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

4 17051

Write a single line c expression to delete a,b,c from aabbcc

Microsoft,

2 5696

Write a program to receive an integer and find its octal equivalent?

7 39156

Write a program to receive an integer and find it's octal equivalent. How can i do with using while loop.

2 13459


Post New C Code Questions

Un-Answered Questions { C Code }

write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??

4128


Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

2667


What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql

2395


could you please send the program code for multiplying sparse matrix in c????

3061


Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines

3016






write a simple calculator c program to perform addition, subtraction, mul and div.

3130


How to palindrom string in c language?

8782


write a program for area of circumference of shapes

2022


Write a program to model an exploding firecracker in the xy plane using a particle system

3679


why nlogn is the lower limit of any sort algorithm?

2364


Cluster head selection in Wireless Sensor Network using C programming language.

3094


Sir... please give some important coding questions asked by product companies..

1788


how to test pierrot divisor

2246


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2248


3) Int Matrix of certain size was given, We had few valu= es in it like this. =97=97=97=97=97=97=97=97=97=97=97 1 = | 4 | | 5 | &= nbsp; | 45 =97=97=97=97=97=97=97=97=97=97=97 &n= bsp; | 3 | 3 | 5 | = | 4 =97=97=97=97=97=97=97=97=97=97=97 34 |&nbs= p; 3 | 3 | | 12 | &= nbsp; =97=97=97=97=97=97=97=97=97=97=97 3 | &nbs= p; | 3 | 4 | = | 3 =97=97=97=97=97=97=97=97=97=97=97 3 | = ; | | | = ; 3 | =97=97=97=97=97=97=97=97=97=97=97 &= nbsp; | | 4 | = ; | 4 | 3 We w= ere supposed to move back all the spaces in it at the end. Note: = If implemented this prog using recursion, would get higher preference.

3313