GeekInterview.com
Answered Questions

String concatination

Asked By: Tarkeshwar_Prasad | Asked On: Mar 15th, 2009

How to concatenate the two string without using the predefined functions (such as strcat and strlen)?

Answered by: vbablu on: Jul 2nd, 2009

void main() { char s[20]; int i,n;                              printf("enter a string");                                scanf("%s",s);                              for(i=0;s[i]!='';i++)              ...

Answered by: vbablu on: Jul 2nd, 2009

void main() { char s1[40],s2[20]; int i=0,j=0;                       printf("enter a strin...

Convert binary number to octal

Asked By: seoraju | Asked On: Feb 17th, 2009

Write a C program to convert a binary number to its corresponding octal number.

Answered by: kakiharanadh on: Apr 13th, 2009

#include<stdio.h>#include<conio.h>main(){    int i=12;    void printoctal(int,int);    printoctal(i,i);    getch();}void printoc...

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: