float i = 3.33;
printf("%d",i)
From the program, the output is "0" Why? Can anyone explain to me what is the process internally why the output is 0? C language don't convert the type automatical...
http://www.experts-exchange.com/Programming/Languages/C/Q_10086256.html
Zones:
CDate Answered: 10/08/1998 Grade: B Views: 0
how can i program a func as printf(...),which have unsure numbers of paramters
tks in advance
and by the way,
how can i kill a process in WIN32 Console (DOS Command Line)
how can i run ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20109954.html
Zones:
C++Date Answered: 04/30/2001 Grade: C Views: 0
I would like to do something like this
Char *ptr;
Char *ptr1;
Char ptr2[10];
Strcpy(ptr,?HELLO?);
When I do strcpy(ptr2,ptr) Now both ptr1 and ptr2 have ?HELLO?
How can I copy this to ptr2.st...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20195786.html
Zones:
C++Date Answered: 05/24/2002 Grade: A Views: 0
Does anybody know how to pipe the output of cout or printf to another consol/command window?
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_20272627.htm...
Zones:
Windows MFCDate Answered: 05/12/2002 Grade: B Views: 12
I am curious to know how printf is implemented ?
Details like : 1. How it processes various type of arguments passed ?
2. How it handles Stnadard output to print the argumwnts to output? What sys...
http://www.experts-exchange.com/Programming/Languages/C/Q_20497422.html
Zones:
CDate Answered: 02/05/2003 Grade: B Views: 0
ok, I know that when you use the printf command you can use %d for a decimal variable or %c for a character, but does can someone give me a list of some other % somethings, (specifically to display...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20522272.html
writing a printf like function using c++ is possible or not. if possible how
thanking
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20631070.html
Zones:
C++Date Answered: 11/20/2003 Grade: A Views: 0
printf ("%f", 5); is giving me 0.000000. Can somebody explain me the reason for this behaviour.
http://www.experts-exchange.com/Programming/Languages/C/Q_20718824.html
{
int*a, i;
/*initialization*/
a = (int *) malloc ( 100 * sizeof(int));
for (i=0; i<100; i++)
a[i] = 0;
a[30] = 200; /*assignment*/
printf(%d, a[20]); /*reading*/
}
F...
http://www.experts-exchange.com/Programming/Languages/C/Q_20739224.html
Zones:
CDate Answered: 12/13/2003 Grade: A Views: 0
#include <stdio.h>
#include <stdlib.h>
typedef struct header_tag *p_header;
typedef struct header_tag
{ char *format;
int var_nos;
void **var_adr;
} header;
void main()
{
p_he...
http://www.experts-exchange.com/Programming/Languages/C/Q_20752741.html
Zones:
CDate Answered: 10/01/2003 Grade: A Views: 0