How to print %d in output

Answer Posted / murugesan kr

printf("\%d");

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a value that does not change during program execution a) variabe b) argument c) parameter d) none

711


What are the two forms of #include directive?

653


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1327


What is the difference between union and structure in c?

585


What is a floating point in c?

614






How can I invoke another program or command and trap its output?

628


What is atoi and atof in c?

626


What does printf does?

757


What is non linear data structure in c?

586


What is c definition?

760


What the advantages of using Unions?

681


How does sizeof know array size?

638


what is event driven software and what is procedural driven software?

2023


What is the difference between typedef and #define?

552


Do you know the purpose of 'register' keyword?

657