How cam i make a comparisons of two integer numbers in order ro printout a statement? Using strcpy() function | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How cam i make a comparisons of two integer numbers in order ro printout a statement? Using strcpy() function

Int rno = 20; Int roll_number = 30; Can I used the string comparison function to compare this to variables? If( strcmp(roll_number, rno) = 0) { Puts(" Successfully COMPUTED\n" ); } But in my projects am have this problem of comparing this Integer number received.

9th Sep 2021, 8:02 PM
Adebayo Boluwatife olumide
Adebayo Boluwatife olumide - avatar
1 Antwort
9th Sep 2021, 8:21 PM
Simon Sauter
Simon Sauter - avatar