edited by
455 views

2 Answers

0 votes
0 votes
Printf() expects the 1st parameter to be a string. Since you are passing a non-string parameter a garbage value will be printed.

Related questions


Deprecated: Implicit conversion from float-string "1674050477.861" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1674050477.861" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1674050477.861" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1674050477.861" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
881
views
1 answers
0 votes
abhinowKatore asked Jan 18, 2023
881 views
What will be the output of the following program ?answer is 8 but I am getting 5, please explain where I am wrong
1.4k
views
2 answers
0 votes
Nitesh Choudhary asked Apr 21, 2017
1,354 views
#include<stdio.h>int main(){ int i=10; printf("address of i=%d value of i=%d",&i,i); &i=7200; printf("address of i=%d value of i=%d",&i,i); return 0;...
1.6k
views
1 answers
1 votes
. asked Apr 2, 2017
1,563 views
What will be the output of the following C program? If you think it will give a runtime error, you need to mention it. In either case,your answer must include proper just...
Total PHP MySQL Other RAM
Time (ms) % Time (ms) % File count Time (ms) % Query count Time (ms) % Amount %
Setup 4.3 4% 2.6 2% 72 1.9 2% 2 0.0 0% 569k 52%
Control 12.5 13% 1.3 1% 5 11.5 12% 12 0.0 0% 178k 16%
View 1.0 1% 1.0 1% 11 0.0 0% 0 0.0 0% 78k 7%
Theme 68.5 75% 4.0 4% 15 64.6 71% 3 0.0 0% 267k 24%
Stats 4.2 4% 0.1 0% 0 4.2 4% 1 0.0 0% 0k 0%
Total 90.6 100% 9.0 9% 103 82.1 90% 18 0.0 0% 1094k 100%