4. Main()
{
Int i=3,j=2,c=0,m;
m=i&&j||c&I;
printf(“%d%d%d%d”,I,j,c,m);
}

Answers were Sorted based on User's Feedback



4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,..

Answer / xxx

compilation error at the line number 4.

Is This Answer Correct ?    16 Yes 2 No

4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,..

Answer / sironmnai

1,2,0,1

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Code Interview Questions

Write a complete program that consists of a function that can receive two numbers from a user (M and N) as a parameter. Then print all the numbers between the two numbers including the number itself. If the value of M is smaller than N, print the numbers in ascending flow. If the value of M is bigger than N, print the numbers in descending flow. may i know how the coding look like?

2 Answers  


Code for 1>"ascii to string" 2>"string to ascii"

1 Answers   Aricent, Global Logic,


Write a program using one dimensional array to assign values and then display it on the screen. Use the formula a[i]=i*10 to assign value to an element.

1 Answers   Samar State University,


How can i find first 5 natural Numbers without using any loop in c language????????

2 Answers   Microsoft,


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

1 Answers  






how can i search an element in an array

2 Answers   CTS, Microsoft, ViPrak,


void main() { unsigned giveit=-1; int gotit; printf("%u ",++giveit); printf("%u \n",gotit=--giveit); }

1 Answers  


what is brs test reply me email me kashifabbas514@gmail.com

0 Answers  


How to read a directory in a C program?

4 Answers  


char inputString[100] = {0}; To get string input from the keyboard which one of the following is better? 1) gets(inputString) 2) fgets(inputString, sizeof(inputString), fp)

1 Answers  


What is the hidden bug with the following statement? assert(val++ != 0);

1 Answers  


main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); } int i;

1 Answers  


Categories