What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-23 07:55:14
how to take multiple char in C
Search Results Featured snippet from the web scanf ( %d , &n); for (i = 0; i < n; i++) { scanf ("%c", &c); printf ("%c\n", c); //printed only after all characters are read. printf ("%d\n", c); //printed only after ... Add solution -
Other 2022-01-22 16:45:53
octave endwhile if
The break statement jumps out of the innermost while, do-until, or for loop that encloses it. The break statement may only be used within the body of a loop. num = 103; div = 2; while (div*div <= num) if (rem (num, div) == 0) break; endif di... Add solution -
C++ 2022-01-22 14:25:20
va_list to printf
/* vprintf example */ #include <stdio.h> #include <stdarg.h> void WriteFormatted ( const char * format, ... ) { va_list args; va_start (args, format); vprintf (format, args); va_end (args); } int main () { WriteFormatted ("Ca... Add solution -
C++ 2021-11-18 14:41:15
increase the speed of cin and cout in c++
#include <iostream> int main(int argc, char **argv) { int parity = 0; int x; //you can use scanf , printf alternatively for speed std::ios::sync_with_stdio(false);// this increases the speed of i/o while (std::cin >> x) parity ^... Add solution
Best helpers
Christie
+5
Don Yarber
+5
Mike
+5
Jack Steele
+5
Bossylobster
+5
Tjb1982
+5
Alana
+5
Mythio
+5
Rane Chetan
+5
Androider
+5
Ms.Zizmor
+5
Joshua Burns
+5
Sea shell
+5
Zolani13
+5
Meldie Ching
+5
Nancye S....
+5
Oritatami
+5
FirstLegion
+5