[ create a new paste ] login | about

Link: http://codepad.org/efpADfPu    [ raw code | output | fork ]

C, pasted on Jan 6:
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
#include <conio.h>

void main()
{
	printf("sizeof(char*) = %d\n",sizeof(char*));         //4
	printf("sizeof(short*) = %d\n",sizeof(short*));       //4
	printf("sizeof(int*) = %d\n",sizeof(int*));           //4
	printf("sizeof(long double*) = %d\n",sizeof(long double*)); //4 
	getch();
}


Output:
1
2
3
Line 18: error: conio.h: No such file or directory
In function 'main':
Line 5: warning: return type of 'main' is not 'int'


Create a new paste based on this one


Comments: