Which of the following is the correct method to print the value 10 to console using this variable -> int A = 10;

All QuestionsCategory: C LanguageWhich of the following is the correct method to print the value 10 to console using this variable -> int A = 10;
Anonymous asked 3 years ago

printf(A);

printf(“%s”, A);
printf(“%i”, A);
printf(“%d”, &A);

2 Answers
Swagat answered 1 year ago

2

Swagat answered 1 year ago

2