0
Print int in c
#include <stdio.h> int main() { int k, l = 1; printf ("%k", int) ; return 0; } what's wrong in the code ?
2 Antworten
+ 3
#include <stdio.h>
int main() {
int k = 1,
l = 1; // unused variable
printf ("%d", k) ; // %d format specifier for integer value
return 0;
}
Output: 1
+ 1
@Kishalaya Saha thanks you right