C Interview Questions
Questions Answers Views Company eMail

create an SINGLE LINKED LISTS and reverse the data in the lists completely

3 3206

hi , please send me NIC written test papers to sbabavalli@gmail.com

NIC,

877

Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com

772




how to print value of e(exp1)up to required no of digits after decimal?

1 2034

writw a program to insert an element in the begning of a doubly linked list

1 2925

main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }

TCS,

9 4210

main() {int a=200*200/100; printf("%d",a); }

TCS,

14 7237

main() { float a=3.2e40; printf("%d",a); }

Satyam,

9 5147




write program on arrays

GE, Polycab,

3 3115

HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER

4 3623

can we print any string without using terminator?

Infosys, TCS,

2 5439

#include int fun(); int i; int main() { while(i) { fun(); main(); } printf("hello \n"); return 0; } int fun() { printf("hi"); } answer is hello.how??wat is tat while(i) mean?

Intel,

7 9054

wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain

TCS,

3 7542

void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..

1 1986

void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i

TCS,

2 2840


Post New C Questions






Un-Answered Questions { C }

cavium networks written test pattern ..

2591


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

13371


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

990


shorting algorithmS

1036


if p is a string contained in a string?

741






hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

757


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

1308


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......

777


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

938


plz let me know how to become a telecom protocol tester. thank you.

1058


FILE PROGRAMMING

1074


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

1578


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

1570


in iso what are the common technological language?

987


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.

1112