Problem in Reading Input

I want to read this two numbers and assign this values to variables…
Ex: 1 23
if i given one value, can i assign the value to first variable and leaving second variable NULL.

Come on! You want some general answer when you didn’t write a language you are interested in?

From so few information in your question I created this code: y3IJAZ - Online C++ Compiler & Debugging Tool - Ideone.com

If not clear, ask :wink: