Pergunta de entrevista da empresa NSETECH

WAP to convert decimal to binary no. WAP to reverse a string without using library functions. WAP to print a pattern?? (pattern will be given)