adding test2.c

Signed-off-by: himanshutalwar <himanshutalwar@gmail.com>