1304 questions
#include <stdio.h>#include <stdlib.h>int main(){ int num = 0; while(1) { printf(number : ); scanf(%d, &num); printf(%d\n, num); num = 0; }}If you enter a non-integer string here, is th...
The method of including C/C++ is to use <> and There are two. What's the difference between the two?
I'm now creating a function that returns a string of three words by comparing several variables with one integer value. I wonder how to write this in Python. For example, x = 0y = 1z = 3Mylist = []if ...
Is there a way to execute the Python code stored in the form of a string?I thought my friend told me I could do it, but I didn't listen because I thought I didn't need it ㅜ
Until now, I understood that static initialization block is used when it is impossible to set the value of the static field with one line.But I don't know why I need a special block for that work. For...
Where is the C standard function that determines whether two instances are the same or not?I used == or is in Python, but I can't find it in C
Use_Programming Language: cCode: #define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <stdlib.h>#include <string.h>int valid_char(char* a, int b);int valid_num(char* a, int b);i...
package hello;public class Hello { Clock clock = new Clock(); public static void main(String args[]) { clock.sayTime(); }}When there was a code like this Cannot access non-static field in static meth...
After initializing the string to '\0', I took the string and compared it, and I saw '\0' at the end of the string I received, and there are meaningless characters behind it. Is this meaningful? This t...
« | - 83 - | » |
© 2024 OneMinuteCode. All rights reserved.