Software Interview Questions
Answer / venkamma
better to see preves papers avalabule respected compines
| Is This Answer Correct ? | 1 Yes | 1 No |
In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
Implement bit Array in C.
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
size maximum allocated by calloc()
What is the difference between malloc() and calloc() function in c language?
what will be the output: main(){char ch;int a=10;printf("%d",ch);}
36 Answers Accenture, TCS, Wipro,
for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????
what wud be the output? main() { char *str[]={ "MANISH" "KUMAR" "CHOUDHARY" }; printf("\nstring1=%s",str[0]); printf("\nstring2=%s",str[1]); printf("\nstring3=%s",str[2]); a)string1=Manish string2=Kumar string3=Choudhary b)string1=Manish string2=Manish string3=Manish c)string1=Manish Kumar Choudhary string2=(null) string3=(null) d)Compiler error
What are the applications of c language?
Is flag a keyword in c?
is compiler do read the data line by line or not. ??
6 Answers LG Soft, Satyam, Tech Mahindra,