What is || operator and how does it function in a program?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is the meaning of typedef struct in c?

0 Answers  


what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

7 Answers  


What is an endless loop?

0 Answers  


What do you mean by a local block?

0 Answers   InterGraph,


2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }

1 Answers   Wipro,






#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {4,6,3,1}, {2,9,0,6}}; int *p; int (*q)[4]; p=(int*)a; q=a; printf("\n%u%u",p,q); p++; q++; printf("\n%u%u",p,q); getch(); return 0; } what is the meaning of this program?

2 Answers  


What's the right way to use errno?

0 Answers  


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

0 Answers   Bosch, Infosys,


What is a dynamic array in c?

0 Answers  


What is the difference between struct and union in C?

1 Answers  


what is c language.

3 Answers  


WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?

6 Answers   Finite Infotech, Lovely Professional University, Wipro,


Categories