0

Can someone give me a small simple example for explicit conversion

10th Jul 2022, 6:16 AM
Learning
1 Answer
+ 2
#include<stdio.h> int main() { // create an integer variable int number = 97; printf("Integer Value: %d\n", number); // (char) converts number to character char alphabet = (char) number; printf("Character Value: %c", alphabet); return 0; }...
10th Jul 2022, 6:25 AM
Mihir Lalwani
Mihir Lalwani - avatar