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
I included stdio.h and successfully used printf. Why can't I use scanf on solo platform?
c++
1 Vote
2 Réponses
5th Nov 2016, 9:02 PM
Emanuel Lozitsky
#include <stdio.h> int main() { char subject ; printf ("Enter your subject\n"); scanf ("%c", & subject ); switch (subject
case
switch
0 Vote
5 Réponses
11th Mar 2021, 7:47 AM
ƊЄƔ ƤƦƛƬƛƤ ƧƖƝƓʆ
Anyone please tell me the behaviour of this code in C
c
doubt
scanf
1 Vote
13 Réponses
1st Dec 2020, 2:55 PM
Yogeshwaran P
How can i search into an file with scanf and get printf with few lines below?
c
1 Vote
2 Réponses
7th Mar 2018, 5:27 PM
Ahsan Iqbal
When input is given in two line why not scanf amd puts is displaying that input
input
output
0 Vote
2 Réponses
16th Oct 2019, 2:06 PM
Sabha Nikhat
When using scanf with a char array in C why do both forms work whether you use & (address of) or not for the array name? E.g.
array
c
char
scanf
17 Votes
6 Réponses
25th Sep 2018, 8:23 AM
Sonic
Why there is no output of the following code?
format
scanf
specifier
0 Vote
8 Réponses
7th Apr 2019, 1:41 PM
Krishna Kumar
in c program we write scanf statement .what we have to take in java to read the statement??
java
3 Votes
2 Réponses
27th Dec 2016, 11:40 AM
kavya
What is the difference between "scanf" and "scanf_s" in C ?
c
scanf
1 Vote
2 Réponses
16th Nov 2018, 12:29 AM
B15
My program is correct or not confused because in computer programs display differently than in it should i have to use scanf ?
confusion
2 Votes
9 Réponses
8th Nov 2018, 1:03 PM
Lata Mishra
I haven't found the option for enter multiple value with the scanf function, plzz help me out
c
0 Vote
2 Réponses
19th Apr 2020, 11:28 AM
saurabh singh
What happens when i use , (comma) here between %ds in => scanf("%d,%d",&a,&b);
c
comma
scanf
0 Vote
10 Réponses
21st Oct 2018, 6:46 AM
Jishnu
Why this is not working?how to make it work?
c
scanf
string
2 Votes
6 Réponses
1st Dec 2021, 9:09 AM
gaurav kumar
In C++ and C we use cin and scanf for value reading purpode and printf and cout for writing purpose .
python
strings
0 Vote
7 Réponses
11th Sep 2017, 4:22 PM
priya varshini
I don't know how does this code work? Please help me understand the behaviour of this code in C
address
pointer
scanf
1 Vote
7 Réponses
26th Nov 2020, 1:57 PM
Yogeshwaran P
How do I format the input with scanf?
c
scanf
0 Vote
2 Réponses
18th Dec 2019, 2:12 AM
Hu Shuikang
How to verify the scanf's input
c++
scanf
0 Vote
2 Réponses
1st Feb 2019, 5:49 PM
Dimitri Felix
Why this code is not working ?
c
input
scanf
1 Vote
3 Réponses
17th Apr 2022, 5:31 PM
Samael
[SOLVED] Confusion in C scanf()
c
confusion
scanf
0 Vote
5 Réponses
5th Oct 2020, 10:54 AM
March Zucherbug
we study without using cout we use float intiger and printf scanf what is the difference between them
c++
0 Vote
2 Réponses
9th Jul 2016, 12:54 PM
Sujan Pandey
Initializing Var with Scanf()
c
input
scanf
2 Votes
4 Réponses
18th Jul 2020, 11:18 AM
Oliver
How to make string enter program
scanf
string
0 Vote
1 Réponse
21st Jan 2018, 6:46 AM
Sufal Chhabra
How to scan more than 1 times in sololearn compiler??
c_language
scanf
sololearn_compiler
2 Votes
3 Réponses
6th Feb 2020, 11:22 AM
ISTIAQUE ZAMAN
How to take an input from the user in php? like we use scanf in C to take input from the user..
php
1 Vote
3 Réponses
4th Nov 2016, 5:05 AM
Radhika Gupta
Can scanf() function can overwrite the limit setted by char array data type to store data?
char_array
overwrites
scanf
1 Vote
2 Réponses
10th Sep 2020, 6:38 AM
Yogeshwaran P
Write program for finding LCM of two numbers using GCF
loops
printf
scanf
2 Votes
2 Réponses
23rd Feb 2018, 4:56 PM
Gudla Swathi
C++; What is the difference between scanf()/printf and cin/cout ?
c++
cin
cout
printf
scanf
2 Votes
12 Réponses
17th Jan 2021, 5:45 PM
Martyna Tomaszewska
I want to use scanf function to get an input and then assign it's value to my array? Can You Please help me out?
arrays
c
functions
pointers
programming
raj
scanf
2 Votes
1 Réponse
18th Jan 2019, 2:11 PM
Vinayak Sharma
help me! I do not know what happened to my code. I want to put information from scanf into printf but the result is not as I e
code
don't
expect
happened
help
know
mycode
printf
result
scanf
1 Vote
3 Réponses
8th Nov 2019, 4:29 AM
Phuong Pham
What is scanf(%[^\n]s ) about String??
c
programming
scanf
strings
2 Votes
3 Réponses
3rd Aug 2020, 7:19 AM
Aniket Gade
What is the role of scanf? How it can be used?
input
output
scanf
1 Vote
2 Réponses
27th Mar 2019, 7:25 PM
Rohan Agarwal
My code that adds coordinates to an array does not work
array
c
scanf
0 Vote
1 Réponse
15th May 2020, 3:28 PM
Guido Parlatore
C "int" input problem
c
input
int
language
programming
scanf
0 Vote
8 Réponses
3rd Feb 2021, 8:03 AM
🌀 Shail Murtaza شعیل مرتضیٰ
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
Noobie, why isnt this working?
c
help
new
scanf
1 Vote
4 Réponses
17th Jul 2019, 11:12 PM
Jarvis
Input string with new line
input
multilinesectnce
scanf
string
2 Votes
1 Réponse
28th Jun 2019, 7:10 AM
MD Sisir
why "gets" does not take any input after "scanf" in C language ?
c
gets
scanf
strings
1 Vote
4 Réponses
15th Jul 2019, 7:13 PM
Kunal Kumar Thakur
Why does fgets take from the previous line?
c
fgets
newline
scanf
1 Vote
3 Réponses
2nd Dec 2020, 7:13 PM
Zerokles
Como seria una salida de texto usando printf?
c++
cout
scanf
1 Vote
2 Réponses
13th Sep 2017, 2:25 AM
JOSE NOVA
in c language get the value using printf and print the value using scanf statement . But we using (console.writeline ) command
c#
-5 Votes
1 Réponse
1st Nov 2016, 9:31 AM
Hari Haran
How to get character data in c program
c
data-types
input
scanf
3 Votes
1 Réponse
17th Oct 2019, 10:58 PM
Fahim Rayhan
What is the return type of scanf() and printf() in C?
c
data-type
data-types
printf
return
scanf
12 Votes
7 Réponses
12th Mar 2018, 5:43 PM
Amit Haldiya
Cygwin error in my function (C)
c
cygwin
function
scanf
0 Vote
2 Réponses
26th Jun 2020, 2:59 PM
Guido Parlatore
How do you clear the input buffer in C?
buffer
c
input
memory
scanf
4 Votes
3 Réponses
29th Jun 2019, 4:31 AM
haydenki
what will this printf print ?
c
printf
scanf
1 Vote
1 Réponse
4th Feb 2018, 8:57 AM
Anonymous Guy
Difference between scanf("%c",p); and scanf("%c",&p); in c???
c
c++
input
java
scanf
1 Vote
6 Réponses
16th Jul 2020, 3:08 AM
C Lover
Alternative for gets() in C?
alternative
c
gets
scanf
warning
4 Votes
3 Réponses
12th Jun 2020, 5:18 AM
Mahdee Mohammad
"scanf" function problem(c++)
c
cpp
error
function
problem
scanf
0 Vote
8 Réponses
13th Oct 2020, 6:37 AM
Podashev David
How can i get String input in C?
c
in
input
scanf
string
via
1 Vote
8 Réponses
30th Jul 2020, 11:25 AM
Yogeshwaran P
I can able get input string but I couldn't get input character why?
c
char
java
printf
scanf
string
0 Vote
11 Réponses
16th Jul 2020, 2:53 AM
C Lover
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
2
3
4
Suivant >
Aujourd'hui en vedette
What's the best way to learn anything
1 Votes
How can I improve my Authenticator App built with HTML, CSS, and JavaScript?
0 Votes
Most asked!
1 Votes
Malloc vs calloc | memory not initialized
1 Votes
help!
0 Votes
Is react js enough for frontend??
0 Votes
Mini project ideas for final years
0 Votes
Please guys could smw do this for me ?
0 Votes
Best way to remember things on this app?
0 Votes
Bits
0 Votes