Hi,
Please help me to create executable file for c program using run prompt(i.e. without using Turbo/Borland C such compilers).
Type: Posts; User: siperi
Hi,
Please help me to create executable file for c program using run prompt(i.e. without using Turbo/Borland C such compilers).
Thanks Inequity.
Thanks, but when we use which(extern var/pointer)?
Can you please what is the difference between usage of extern variable and pointer in c.
Thanks Boss.
which header file has alloc(), free() functions?
when do we need pointer to function?
why don't we use all variables as external variables in c?
Thanks all. It's working fine.
I used eclipse s/w to compile this program. But here is no effect when I press CTRL-D or CTRL-Z.
main()
{
int c;
c = getchar();
while (c != EOF) {
putchar(c);
c = getchar();
}
}
int main()
{
int matrix[2][4] = { { 11, 22, 33, 99},
{ 44, 55, 66, 110},
};
int **ptr = (int **) matrix;
...
command line means. Pls give one ex.
int main (int argc, char **argv)
{
int sum;
if (argc < 3 )
return -1;
else
sum = argv[1] + argv[2];
printf("Sum is %c\n",sum);
return 0;
}
I'm not quite clear. Please explain briefly.
Hi I used (arr2[5] name="name";) instead of (arr2 name="name";) in the above program. That time I got error.
int main()
{
typedef char arr2[5];
arr2 name="name";
printf("%s",name);
return 0;
}
#define f(g,g2) g##g2
main()
{
int var12=100;
printf("%d",f(var,12));
}
Answer:
100
char *str = "hello";
char str[] = "hello";
can u differentiate these?
what (address of ) operator should we use to view address of register variables?
main()
{
int i=4,j=7;
j = j || i++ && printf("YOU CAN");
printf("%d %d", i, j);
}
Answer:
4 1
what does (*x)[10] mean?
int main()
{
int i=10;
void f(int,int,int);
f(i++,i++,i++);
return 0;
}
void f(int x, int y, int z)
{
Yeah I know float, double, long double. But I don't know what is long float?
what is long float?
Is long float = double?