English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

"the anwer is" then the value of the variable, c, with it.

2007-02-16 20:39:15 · 3 answers · asked by bluemiano 2 in Computers & Internet Programming & Design

3 answers

printf("the answer is %d\n", c);

2007-02-16 20:41:26 · answer #1 · answered by tony1athome 5 · 0 0

printf("The answer is %d",c) if c is integer variable
else replace %d by %f if c is floating point variable or %c if c is a character or %s if c is an array of characters (string)

2007-02-17 04:45:21 · answer #2 · answered by Anonymous · 0 0

printf("the answer is %d",c);

2007-02-17 04:47:41 · answer #3 · answered by hariesh prabu 1 · 0 0

fedest.com, questions and answers