| Current Path : /var/www/html/venkat/check1-iws44/ |
| Current File : /var/www/html/venkat/check1-iws44/a.c |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#define A 10
struct aa {
int a;
int b;
};
int main()
{
char * ptr;
int aa[2][] = {2,3,4,4};
double a = 5;
float b;
b = a;
//printf("%d", sizeof(struct aa));
printf("%f", b);
ptr = malloc (sizeof(0));
strcpy(ptr,"hello");
printf("%p", ptr);
printf("%s", *ptr);
//while(0) {
// ptr = (int *) malloc (sizeof(int*));
// }
return 0;
}