these are the header files for my project
#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<string.h>
#include<process.h>
#include<graphics.h>
but when i compile it with gcc in...
Type: Posts; User: nowshek
these are the header files for my project
#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<string.h>
#include<process.h>
#include<graphics.h>
but when i compile it with gcc in...
thank you...
The following program:
#include<stdio.h>
int main()
{
int x=30, *y, *z;
y=&x; /* Assume address of x is 500 and integer is 4 byte size */
z=y;
if it is undefined behaviour then the output of the code must change...but it give 1 -1 2.
but the following code compiles and runs without error............
It's a problem from the book on testing C aptitude....
Can u plz tell how it works.
Can anyone please explain the following code:
#include<stdio.h>
void main ()
{
int m = m <= m > 0, n = --m;
n = n++ && m-12;
printf("%d %d %d", m,n, ++m - --n);
}