0
How can i Run mentioned code ?
#include <stdio.h> int main() { char c; printf("Enter The Charecter:"); scanf("%c",&c); printf("ANCII Value %c=%d",c); return 0; }
2 Answers
+ 4
in your second *printf* statement, you are providing lesser number of arguments than required.
it need 2 values to fill in the places for "%c" and "%d" respectively but you are only passing one i.e. *c*
Here is the fixđ
https://code.sololearn.com/cmIbtuMe58KB/?ref=app