Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
We use %d for integer and %f for float. What do we ue for double?
code
double
float
integer
java
question
4 Votes
2 Réponses
3rd Nov 2021, 6:53 AM
Geraldo Lici
if i change %f to %d a new number appear i dont know why?
c
data-types
0 Vote
3 Réponses
1st Aug 2019, 6:24 PM
Kuleep Bhogal
If we use %d in printf to print a float variable than what it print in c ?
answer?
2 Votes
8 Réponses
10th Feb 2021, 6:57 PM
Ayush Gupta
What is mean by %1d in C language? Can we use only %d instead of %1d?
c
0 Vote
2 Réponses
21st Feb 2020, 9:11 AM
Tarun Gehlot
What is the deference between using format() function and using these %s , %d ...
format()#functions#%d
python#strings
1 Vote
2 Réponses
12th May 2021, 8:19 PM
Safou Abderrahim
#include<stdio.h> int main(){ int a,b,c; printf(" three numbers: "); scanf("%d %d %d",&a,&b,&c); if(a>b && a>c){ printf("
c
help
need
0 Vote
3 Réponses
7th Jul 2017, 3:38 PM
Noushin tabassum
#include <stdio.h> #define prod(i,j) i*j int main() { int x=3,y=4; printf(" %d \n",prod(x+1,y)); } output :7
c
define
preprocessor
0 Vote
2 Réponses
21st Nov 2019, 6:03 PM
mohamed Issati
Printf("the answer is %d",sum); does not work on devc++ on my PC what can i do to fix it please
%d
csourcecode
printf
1 Vote
4 Réponses
26th Apr 2020, 8:05 PM
Nchinda Boris
Can someone help me to understand this code ↓ ?
%d
c
char
printf
unsigned
0 Vote
11 Réponses
21st Feb 2022, 1:51 AM
Mik
When i use %d in place of %s I see this result, can you explain the number in place of string
...
1 Vote
3 Réponses
8th Jun 2018, 2:36 PM
Tarun Mathur
Could you Explain the output how we get it and what is the meaning of %d %f %c why do we use them ..
c
1 Vote
6 Réponses
18th Aug 2019, 7:52 PM
Safaa Alnabhan
whats the problem?
%d
forloop
formatting
java
0 Vote
5 Réponses
5th Jun 2020, 10:57 AM
Yahel
What's wrong with this code?
%d
code
If
0 Vote
2 Réponses
9th Jul 2017, 3:06 PM
Captain George
c programming
%d
%i
c
-1 Vote
1 Réponse
7th Dec 2017, 1:09 PM
jefferson anjos
Void main() { Int x = 10; Int *y = (&x); Int ***z = (&y); Printf("%d %d %d", **z, *y, x); }
c#
-2 Votes
4 Réponses
19th Mar 2017, 6:14 AM
lalith narayan
explain in simple words the use of %2d, *, %5s in scanf("%2d %d %*f %5s", &x, &y, text), where text is text[20] ?
input
output
scanf
0 Vote
2 Réponses
1st Oct 2019, 4:56 PM
Sk. Ahmed Razha Khan
guys can anyone tell me all the conversion types in C for example int as %d like tht how many r thr?
c++
0 Vote
2 Réponses
5th Aug 2016, 4:26 PM
Suhail Pappu
why this code in c , outputs this
%
%d
%o
%x
c
doubt
program
9 Votes
2 Réponses
25th Jun 2019, 10:23 AM
Sujithra
Is it necessary to write "%d", "%c" in printf(_____)?
%d
c
new
printf
0 Vote
1 Réponse
21st Jun 2020, 11:00 AM
Ashik Ahmed
I want to pass an average to a function. When I use in the main printf with %d I get the average but if I use %f I got 0.Why? Tk
advise
average
c
0 Vote
4 Réponses
10th Jan 2019, 6:32 PM
Maria
What Are Format Specifiers and what is the importance of it?
%c
%d
%f
%ld
c
c++
format
java
specifier
syntax
1 Vote
4 Réponses
11th Aug 2017, 12:10 AM
Ishu Maurya
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
2
Suivant >
Aujourd'hui en vedette
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes
Ruby programming?
3 Votes