in Programming in C
256 views
1 vote
1 vote

I have seen alot of people saying that we can make an Integer string in C language.

But according to me we can only make a character string in C language.

here is the code:

 

void main(){

    char c[20] = {“1234”};

    }

 

as far as i know this is a string of characters not string of integers but can someone tell me that is it possible to make a string of only integers in C language? If yes then how can we initialize it?

 

in Programming in C
256 views

Please log in or register to answer this question.

Related questions