Cursussen
Cursussen
Code Compiler
Code Compiler
Discussiëren
Prijzen
Teams
Inloggen
Registreren
Menu
Q&A Discussies
Zoeken
Zoeken
Stel een vraag
Stel een vraag
We use %d for integer and %f for float. What do we ue for double?
code
double
float
integer
java
question
4 Stemmen
2 Antwoorden
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 Stemmen
3 Antwoorden
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 Stemmen
8 Antwoorden
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 Stemmen
2 Antwoorden
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 Stem
2 Antwoorden
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 Stemmen
5 Antwoorden
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 Stemmen
2 Antwoorden
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 Stem
4 Antwoorden
26th Apr 2020, 8:05 PM
Nchinda Boris
Can someone help me to understand this code ↓ ?
%d
c
char
printf
unsigned
0 Stemmen
11 Antwoorden
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 Stem
3 Antwoorden
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 Stem
6 Antwoorden
18th Aug 2019, 7:52 PM
Safaa Alnabhan
whats the problem?
%d
forloop
formatting
java
0 Stemmen
5 Antwoorden
5th Jun 2020, 10:57 AM
Yahel
What's wrong with this code?
%d
code
If
0 Stemmen
2 Antwoorden
9th Jul 2017, 3:06 PM
Captain George
c programming
%d
%i
c
-1 Stem
1 Antwoord
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 Stemmen
4 Antwoorden
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 Stemmen
2 Antwoorden
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 Stemmen
2 Antwoorden
5th Aug 2016, 4:26 PM
Suhail Pappu
why this code in c , outputs this
%
%d
%o
%x
c
doubt
program
9 Stemmen
2 Antwoorden
25th Jun 2019, 10:23 AM
Sujithra
Is it necessary to write "%d", "%c" in printf(_____)?
%d
c
new
printf
0 Stemmen
1 Antwoord
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 Stemmen
4 Antwoorden
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 Stem
4 Antwoorden
11th Aug 2017, 12:10 AM
Ishu Maurya
Stel een vraag
Stel een vraag
Stel een vraag
Stel een vraag
< Vorige
1
2
Volgende >
Populair vandaag
Is it possible to convert .zip file to apk? If yes, how??
1 Votes
Pointers cpp
2 Votes
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
0 Votes
How to add two strings together in ts or css
1 Votes
Why can’t I use double “ in python?
0 Votes
Is pro worth the money ?
1 Votes
2 cases not correct what's the problem
1 Votes
Drawing images in java
2 Votes
Need Guidance: AI Tools for Creating an App Prototype & UI/UX Design
1 Votes