main()
{
int x=5,y=10,z=0;
x=x++ + y++;
y=y++ + ++x;
z=x++ + ++y;
printf("%d%d%d\n",x,y,z);
}
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What is the difference between a free-standing and a hosted environment?
Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]
#include<stdio.h> #include<conio.h> void main() { float a; clrscr(); a=0.5; if(a==0.5) printf("yes"); else printf("no"); getch(); }
How is a null pointer different from a dangling pointer?
Code for calculating square root without using library function, of math.h
read an array and search an element
What is the size of enum in bytes?
What is omp_num_threads?
how does the C compiler interpret the following two statements p=p+x; q=q+y; a.p=p+x; q=q+y b.p=p+xq=q+y c.p=p+xq; q=q+y d.p=p+x/q=q+y
what is the difference between char * const and const char *?
What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 Answers MindFire, TCS, Tech Mahindra,