+ 1
Why it is showing 'No Output' on console window?
4 Antworten
+ 6
Strings (=char arrays) need double quotes. Single quotes are only for single characters.
Also, you can't compare strings with ==. You need to use strcmp() from <string.h> (or make your own function to compare strings)
+ 6
please put your code on code play ground, so that your code can be review easily
what exactly do you want to get, I can see in your code you're comparing an input with a function which is not possible you can still do something like this if(opp==sum(a,b){ your code;} yeah that will work fine, but your code is not doing lot of things right
+ 2
Anna ThankYou it Worked ;)
+ 1
*AsterisK* Not Exactly Comparing function but im checking if the string 'op' is filled with 'sum' the it will call the sum function