Pages

You just missed a call? Want to get details of that phone number?

Sunday 25 February 2018

Hey Guys,

Today in this tutorial I'll teach you guys how you can get details of any mobile number. This is very simple to track any phone number. A very simple thing you have to do is just go to this URL and Enter your phone number after entering your phone number you will get complete details your phone number. And if you want to get location of phone or mobile number you can also do this easily. This is a free phone lookup service for any country. They are not charging a single penny from any user.

Here is the link of that website.


Get Mobile Number Details

For further details about free phone lookup service you can view the video. I hope you guys will like this free find phone number details service.

Write a program in c language to reverse a string in reverse order without using strrev function or any other function

Sunday 6 July 2014

#include <stdio.h>
#include <string.h>
#include <conio.h>

int main()
{
char str[100], ch, str2[100];
int count = 1, i, count2 = 0;

printf("Enter String: ");
while(ch != 13)
{
ch = getche();
str[count] = ch;
count++;
}
 
    for(i=0; i<=99; i++)
    {
str2[i] = str[i];
}

    for(i=count; i>=0; i--)
    {
str[count2] = str2[i];
count2++;
}

printf("\nRevered string is\n");

for(i = 0; i < count; i++)
{
printf("%c", str[i]);
}

   getch();
}

Write a program in c language to reverse a string by using strrev function or ptrint a string in reverse order

#include <stdio.h>
#include <string.h>
#include <conio.h>

int main()
{
   char str[100];

   printf("Enter a string to reverse: ");
   gets(sttr);

   strrev(str);  //function to reverse a string

   printf("Reverse of entered string is: %s\n", str);

   getch();
}

Write a program in c language to compare two strings by using pointers.

#include <stdio.h>
#include <conio.h>

int compare_strings(char*, char*);

int main()
{
    char str1[100], str2[100], result;

    printf("Enter first string: ");
    gets(str1);

    printf("Enter second string: ");
    gets(str2);

    result = compare_strings(str1, str2);

    if ( result == 0 )
       printf("Strings are same.\n");
    else
       printf("Entered strings are not equal.\n");

    getch();
}

int compare_strings(char *str1, char *str2)
{
   while(*str1==*str2)
   {
      if ( *str1 == '\0' || *str2 == '\0' )
         break;

      str1++;
      str2++;
   }
   if( *str1 == '\0' && *str2 == '\0' )
      return 0;
   else
      return 1;
}

 

Search Box

Most Reading

Contact Form

Name

Email *

Message *