@pradeep-agrawal-rhdX5z
•
Oct 26, 2024
Oct 26, 2024
2.4K
Mismatch in arguments passed to a function and what a function can take
Why the below code works fine without any compile time or runtime errors?
#include “stdio.h”
int main() {
a('c');
return 0;
}
a(char* ch, int i) {
printf("%c\n", ch);
}...