Can we use char in switch case in C++? – Enpatika
Skip to content
Yeni Enpatika Logo

Enpatika

En Güncel Oyun ve Sistem Gereksinimleri Sitesi

  • Ana Sayfa
  • Gizlilik Politikası
  • Telif Hakları
  • İletişim
  • taraftar tv apk

Can we use char in switch case in C++?

How do you write a switch case for a string in C++?

1 April 2022 Enpatika.com Genel
Read more

Can we use char in switch case in C++?

1 April 2022 Enpatika.com Genel

switch statement can handle int and char in C++ . char data type can hold only one letter. Thus, if you input only one letter ( X ) for XL size will be fine …9 Eki 2013

Read more

Can switch case be used for char?

1 April 2022 Enpatika.com Genel

You can use char ‘s for the switch expression and cases as well .

Read more
WordPress Theme: Gridbox by ThemeZee.