How to print %d in output

Answer Posted / chirag garg

printf("% \bd");

Is This Answer Correct ?    2 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you think of a logic behind the game minesweeper.

2004


can any one tel me wt is the question pattern for NIC exam

1553


When is the “void” keyword used in a function?

826


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

1953


Can we change the value of constant variable in c?

568






Differentiate between Macro and ordinary definition.

723


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2171


How can you increase the size of a statically allocated array?

608


How can you call a function, given its name as a string?

710


What is the difference between printf and scanf in c?

745


Why enum is used in c?

523


What does #pragma once mean?

682


What is the total generic pointer type?

722


Why are algorithms important in c program?

614


Why is struct padding needed?

625