Write a C program for Generating a pattern as given bellow

Posted by Tushar Bedekar
A B C D E F G F E D C B A
A B C D E F     F E D C B A
A B C D E            E D C B A
A B C D                   D C B A
A B C                           C B A
A B                                   B A
A                                          A






C Program me:-


#include <stdio.h>
#include <stdlib.h>

int main()
{
    int l=6;
    int i,k,p=6,m=1;
    char ch,kp='F',tu;
    printf("ABCDEFGFEDCBA \n");
    for(i=0;i<=6;i++)
    {
        tu=kp;
        ch=('A'-1);
        for(k=0;k<l;k++)
        {
            ch=ch+1;
            printf("%c",ch);
        }

        for(k=0;k<m;k++)
            printf(" ");

        for(k=0;k<p;k++)
        {
           printf("%c",tu);
           tu=tu-1;
        }
        kp=kp-1;
        printf("\n");
        l=l-1;
        m=m+2;
        p=p-1;
    }

    return 0;
}

Read More

IDE,Linker,Editor,Console And Debugger

Posted by Tushar Bedekar
Basically If We talk About writing the "C Program-me" We usually use the IDES (Integrate Development Environment) such as Turbo C++,Dos box(specially for windows 7 and windows 8). More over one can also use online software's to compile and execute the c program-me.


Integrated Development Environment IDE:-


Basically place that we use to write the "C program-me" is referred to as the Integrated development environment (IDE).An integrated development environment (IDE) or interactive development environment is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. Most modern IDEs offer Intelligent code completion features.


Linker:-



A linker or link editor is a computer program that takes one or more object files generated by a compiler and combines them into a single executable program.

Definition: To convert Source Code to Machine code takes two phases.
Compilation. This turns the Source Code into Object Code.
 Linking. This collects all the various Object Code files and builds them into an EXE or DLL.
Linking is quite a technical process. The obj files generated by the compiler include extra information that the linker needs to ensure that function calls between different obj files are correctly "joined up".


Editor:-



A text editor is used to edit plain text files.  Text editors differ from word processors, such as Microsoft Word or WordPerfect, in that they do not add additional formatting information to documents.  You might write a paper in Word, because it contains tools to change fonts, margins, and layout, but Word by default puts that formatting and layout information directly into the file, which will confuse the compiler.  If you open a .doc file in a text editor, you will notice that most of the file is formatting codes.  Text editors, however, do not add formatting codes, which makes it easier to compile your code.

Definition: 
An Editor is an program much like a Word Processor that you use to edit the Source Code of any program you write.

Most IDEs come with a built in editor and some will automatically highlight compile errors in the editor to simplify fixing them.


Console:-



(1) The combination of display monitor and keyboard (or other device that allows input). Another term for console is terminal. The term console usually refers to a terminal attached to a minicomputer or mainframe and used to monitor the status of the system.
(2) Another term for monitor or display screen.
(3) A bank of meters and lights indicating a computer's status, and switches that allow an operatorto control the computer in some way.
(4) A device specially made for game play called a video game console. The player interacts with the game through a controller, a hand-held device with buttons and analog joysticks or pads. Video and sound are received by the gamer though a television. See also console game.
(5) In Windows Home Server the Console is the application software you use to manage Windows Home Server from any of the computers on your home network. Here you can configure back-ups, access add-ins, configure folders, and change Windows Home Server settings.


Debugger:-



A special program used to find errors (bugs) in other programs. A debugger allows a programmer to stop a program at any point and examine and change the values of variables.

Most IDEs come with a built in editor and some will automatically highlight compile errors in the editor to simplify fixing them.


Read More

Upcoming 4GB RAM Mobiles in India

Posted by Tushar Bedekar
Ever since Intel, Qualcomm, and MediaTek invented 64bit ARM mobile chipsets, smart phones have become smarter with manufacturers fitting them with 4GB of RAM. In fact, 4 GB RAM has become a top selling feature in the high end smart phones being sold around the world. Many smartphone manufacturers have announced their new devices fitted with 4GB RAM and soon these advance mobile phones will make their entry in India. This article lists some of the best 4GB smart phones that will soon be available to Indian consumers.

Motorola Moto X 3rd Generation 2015:-

Motorola has not made an official announcement yet, but there have been leaked reports on internet that confirm the fact that Moto X 3rd generation 2015 is soon to be launched in India. This is a very advance smartphone with high end specifications. It is believed to have a massive 5.2 inch screen that produces a resolution of 2560X1440pixels. The monitor will have protection from scratches through Corning Gorilla Glass 3. However, the outstanding feature of this state of the art technology smartphone is rumored to be humongous 4GB RAM.
Moto X 3rd generation 2015 will run on latest Android v5.0 Lollipop and it will be fitted with a dual core 1.8GHz Cortex A57 processor. It will be available in both 32GB as well as 64GB models and there will be no slots for expansion of internal memory. It will be a dual camera device with a 15 MP rear camera and a front 5MP camera capable of recording videos n full HD (1080p). Another outstanding feature of this smartphone will be its fast charging battery. The smartphone is fitted with a non removable Li-ion 3280mAh battery that can be charged 60% in just 30 minutes.

Oppo Find 9:-

Find series from Oppo smartphones has become extremely popular among consumers in India
because of their unique features and high end specifications. Oppo 7 was the last smartphone made by the company that created lot of buzz with its stylish looks and high end features. There are a rumor that next in line is Oppo 9, a smartphone that would boast a 4GB RAM and Quad HD display on a 5.5 inch monitor. It will have 32 GB of internal memory and will be powered by Snapdragon 810 processor that is octa core. This beautiful smartphone will run on latest Android v5.0, also called Lollipop.

Xiaomi Mi5:-

Chinese smartphone manufacturer Xiaomi is planning to launch a new smartphone called Xiaomi Mi5 that is slated to have very high end specifications including Snapdragon 820 processor and a massive 4GB of RAM. It will be a successor to the very popular MI series that is a strong rival of Apple iPhone 6 and Samsung Galaxy 6. Though Xiaomi has this phone ready but the company waited for the release of the super fast processor from Qualcomm. Now this smartphone will be released in the month of November.
Mi5 will boast of a huge 5.5 inch screen that will produce a quad HD display. It will have a gigantic 4GB RAM that is much higher than 1 GB RAM of iPhone 6 and 3GB RAM of Samsung Galaxy 6. Another USP of this stylish smartphone will be fingerprint scanner. This scanner will not require a button or a sensor as is the case with iPhone 6 or Galaxy 6. This smartphone will e fitted with a 15 MP rear camera and an 8 MP front camera.

Huawei Honor 7 :-

Honor is the name of a very popular smartphone series made by Chinese manufacturer Huawei. The company is preparing to launch its next flagship product called Huawei Honor 7. There will actually be two models namely Honor 7 and Honor 7 Plus. It is Honor 7 Plus that will boast of 4 GB of RAM and 128 GB of onboard memory. It will have a 5.5 inch screen producing a resolution of 1080p.This phone will be fitted with a very large 4000mAh battery. It will have a great 13 MP rear camera.  Another outstanding feature of the phone will be its body that is rumored to have been made using aircraft grade metal.

 Sony Xperia Z5:-

Xperia is a very popular flagship series of smart phones from Sony. The company is believed to be
working on is new smartphone in this series that will be called Z5. This smartphone will have a qHD display producing a resolution of 1440 x 2560pixels. It will be powered by the latest Snapdragon 820 processor and boast of a huge 4 GB of RAM. Another unique selling feature of this smartphone will be a 21 MP rear camera. This will be the first Sony smartphone fitted with Sense ID fingerprint scanner. The battery of this smartphone will have the ability to charge quickly n a few minutes. It will be a very beautiful and stylish smartphone with a totally clean front without any buttons. There are also rumors that Xperia Z5 will be fitted with a 10 MP front camera.

There are some more smartphones soon to be launched in India that will be fitted with 4 GB of RAM. The prices of these phones varies between manufacturers and the features and specifications it gets. Overall, 2015 will be a challenging year for all these manufacturers. However, the smartphones described above are those that are most talked about because of their features and specifications besides 4 GB RAM Mobile

Authors Bio:

The article has been written by Kundan Srivastava, who is passionate about technology. He's working at 91mobiles.com and writes about the latest in the tech domain, right from devices to innovations. 


Publisher's Last Words:

This is guest post by Kundan Srivastava, Thanks to Kundan Srivastava for this awesome and useful information.if you want to post your article on http://www.allaboutcomputing.net you can contact me. For more about Computer programming and for many more about Computer or web designing stay connected with http://www.allaboutcomputing.net .
I hope you have got answers of some Questions by this small post and I know you have lot of questions, So please feel free to ask in comment section or you can mail me my    e mail id is : tushar.bedekar11@gmail.com 

Read More

CSS Ready Classes- A preferable way of tweaking gravity forms

Posted by Tushar Bedekar

Forms have always been regarded as an indispensable component of a website where users are expected to provide a specific kind of input. If you've been running a WordPress powered website then you'd be well familiar with the awesome plugins that can render you the flexibility of creating forms which can further be incorporated into multiple web pages. One such WP plugin that has served as a 'magic wand' for creating advanced forms is Gravity Forms. Specially suited for e-commerce websites, this plugin can be conveniently integrated with popular applications and online services such as: PayPal, Authorize.net, Zapier and many more. Apart from this, the 1.5 version of Gravity Forms plugin brought along a brand new feature called 'Ready Classes' which provided us an excellent means of building unique layouts for the fields within the forms. Keep on reading the post as I'll take you on a journey of using these Ready Classes for performing minor/major tweaks to the forms.

Ready Classes- A closer look:-

Ready classes are the classes names which can be assigned to the parents elements for every form field. These classes make use of default styles which are available within the form's stylesheet. Therefore, you can choose from a wide collection of options/buttons which allow you to moderate the look and feel of fields available within a specific form. In addition to these highly accessible buttons, there are handy popups which include a well-defined list of different Ready Classes that allow you to customize the forms in your own unique way. Lastly, you can also enjoy the convenience of adding a new Ready Class with a simple double-click.

Insights on using Ready Classes for customizing forms:-

To get started with adding a Ready class to a particular form field, you can get on with opening the form builder and initiating the form editing process. After that, you'll have to decide about the field to which the new ready class needs to be added. For tis, simply head on to 'Advanced tab' where you'll find a CSS Class Name. Here, just insert the names of all the ready classes which you wish to integrate with the form field. 
Here's a list of few default CSS ready classes(available in the Gravity Forms stylesheet) for you to choose from:

1.      gf_line

This is a CSS ready class that allows you to position the form field inline horizontally(in relation to other fields).

2.      gf_left_half

Compatible with “top label” form layout setting, this ready class will let you position the field towards the left column out of the two form layouts.

3.      gf_right_half

Just like gf_left_half, even this ready class is just compatible with “top label” form layout setting. With this ready class, you'll be able to position the form field towards the right column out of the available layouts. You may opt for adding the gf_left_half and gf_right_half classes for arranging the fields in a style that they appear parallel to each other. Here, you must remember that the gf_left_half class is being added to the first field and gf_right_half class to the second one.

4. Ready Classes applicable in case of forms with lists:

Ø  gf_list_2col
This ready class will allow you to make big modifications to checkbox lists, followed by converting the checkboxes into 2 column formats which are spaced proportionally.
Ø  gf_list_3col
Exactly similar to the gf_list_2 col, the gf_list_3 col will transform the checkboxes into proportionally spaced 3 column formats.
Ø gf_list_4col
With this ready class, you can change your checkboxes into proportionally spaced 4 column formats. You can use this ready class with checkbox lists and multiple form label position settings.
Ø   gf_list_5col
Use this ready class for changing the checkboxes into 5 column formats. This class can be used with checkbox lists as well as different form label position settings.
Ø  gf_list_inline
With this ready class, you'll be able to position the checkbox list inline horizontally. Quite similar to other ready class, this one can also be used with checkbox lists and varied form label position settings.
Ø  gf_list_height_25
This ready class lets you assign a 25px height value to different checkbox items included within the available list. Issues such as hanging floats remain at bay, with the use of this ready class.
Ø  gf_list_height_50
Using this ready class enables you to assign 50px height value to different checkbox items and preventing issues like hanging floats. You may use this ready class with a form label position setting of your preference.
Ø  gf_list_height_75
This ready class will assign a 75px height value to all checkbox items and prove as a viable option for keeping issues like “hanging floats” at bay.
Ø  gf_list_height_100
Use this ready class to assign a 100px height value to checkbox items available with the list. Plus, you may use this ready class with a form label position setting(s) of your choice.
Ø  gf_list_height_125
This ready class assigns a 125px height value to checkbox items, followed by offering you the flexibility of using the same with a form label position setting that is in sync with your requirements.
Ø  gf_list_height_150
Use this ready class for assigning a 150px height value to checkbox items within the available list. If you want to remain safe from the hanging floats error, this ready class can serve as your savior.
We're done!

Conclusion:-

Explained above are just a few ready classes available for modifying the form fields, there are many other miscellaneous one which come with their unique set of functions. Do share your experiences of using any/all of the above mentioned CSS ready classes using the comments section below.

Author Biography:-


Samuel Dawson is a expert professional with Designs2HTML Ltd, a perfect PSD to HTML company having long years of experience. Samuel has effective strategy to gain knowledge from different online portals & he also shares his knowledge further. 

Publisher's Last Words:

This is a guest post by Samuel Dawson, Thanks to Samuel Dawson for this awesome and useful information.if you want to post your article on http://www.allaboutcomputing.net you also can contact us. For more about Computer programming and for many more about Computer or web designing stay connected with http://www.allaboutcomputing.net .
I hope you have got answers of some Questions by this small post and I know you have lot of questions, So please feel free to ask in comment section or you can mail me my    e mail id is : tushar.bedekar11@gmail.com 
Read More

Top 20 "C" programs asked in interview.

Posted by Utkarsh Jain

Programs :


1. Write a program to find factorial of the given number...
2. Write a program to check whether the given number is even or odd.
3. Write a program to swap two numbers using a temporary variable.
4. Write a program to swap two numbers without using a temporary variable.
5. Write a program to swap two numbers using bit wise operators.
6. Write a program to find the greatest of three numbers.

7. Write a program to find the greatest among ten numbers.
8. Write a program to check whether the given number is a prime.
9. Write a program to check whether the given number is a palindrome c number.
10.Write a program to check whether the given string is a palindrome .
11.Write a program to generate the Fibonacci series.
12.Write a program to print"Hello World"without using semicolon anywhere in the code.
13.Write a program to print a semicolon without using a semicolon anywhere in the code.
14.Write a program to compare two strings without using strcmp() function.
15.Write a program to concatenat e two strings without using strcat() function.
16.Write a program to delete a specified line from a text file.
17.Write a program to replace a specified line in a text file.

18.Write a program to find the number of lines in a text file..
19.Write a C program which asks the user for a number between 1 to 9 and shows the number. If the user
inputs a number out of the specified range, the program should show an error and prompt the user for a
valid input.
20.Write a program to display the multiplication table of a given number..



Note:-

  • The Solution to the above question will be uploaded soon
  • The above question are as per the author point of view.the real questions may be different.

Read More

Top 20 Frequently asked questions in c programming

Posted by Tushar Bedekar

Top 20 "C" programs asked in interview,,.!!!

Programs :

1. Write a program to find factorial
of the given number...
2. Write a program to check whether the given number is even or odd.
3. Write a program to swap two numbers using a temporary variable.
4. Write a program to swap two numbers without using a temporary variable.
5. Write a program to swap two numbers using bitwise operators.
6. Write a program to find the greatest of three numbers.
7. Write a program to find the greatest among ten numbers.
8. Write a program to check whether the given number is a prime.
9. Write a program to check whether the given number is a palindrome c number.
10.Write a program to check whether the given string is a palindrome .
11.Write a program to generate the Fibonacci series.
12.Write a program to print"Hello World"without using semicolon anywhere in the code.
13.Write a program to print a semicolon without using a semicolon anywhere in the code.
14.Write a program to compare two strings without using strcmp() function.
15.Write a program to concatenat e two strings without using strcat() function.
16.Write a program to delete a specified line from a text file.
17.Write a program to replace a specified line in a text file.
18.Write a program to find the number of lines in a text file..
19.Write a C program which asks the user for a number between 1 to 9 and shows the number. If the user
inputs a number out of the specified range, the program should show an error and prompt the user for a
valid input.
20.Write a program to display the multiplica tion table of a given number..

Note:-The solution will be published shortly stay connected with us.
Read More

Pointers in C and C++

Posted by Tushar Bedekar
The correct understanding and use of pointers is crucial to successful C programming. There are several reasons for this: First, pointers provide the means by which functions can modify their calling arguments. Second, pointers support dynamic allocation. Third, pointers can improve the efficiency of certain routines. Finally, pointers provide support for dynamic data structures, such as binary trees and linked lists.
Pointers are one of the strongest but also one of the most dangerous features in C. For example, a pointer containing an invalid value can cause your program to crash. Perhaps worse, it is easy to use pointers incorrectly, causing bugs that are very difficult to find. Because of their importance and their potential for abuse, this chapter examines the subject of pointers in detail.

What Are Pointers?

A pointer is a variable that holds a memory address. This address is the location of another object (typically another variable) in memory. For example, if one variable contains the address of another variable, the first variable is said to point to the second. 


Pointer Variables

If a variable is going to be a pointer, it must be declared as such. A pointer declaration consists of a base type, an *, and the variable name. The general form for declaring a pointer variable is
type *name;
where type is the base type of the pointer and may be any valid type. The name of the pointer variable is specified by name.
The base type of the pointer defines the type of object to which the pointer will point. Technically, any type of pointer can point anywhere in memory. However, all pointer operations are done relative to the pointer's base type. For example, when you declare a pointer to be of type int *, the compiler assumes that any address that it holds points to an integer— whether it actually does or not. (That is, an int * pointer always ''thinks" that it points to an int object, no matter what that piece of memory actually contains.) Therefore, when you declare a pointer, you must make sure that its type is compatible with the type of object to which you want to point.

The Pointer Operators

There are two pointer operators: * and &. The & is a unary operator that returns the memory address of its operand. (Remember, a unary operator only requires one operand.) For example,
m = &count;
places into m the memory address of the variable count. This address is the computer's internal location of the variable. It has nothing to do with the value of count. You can think of & as returning "the address of." Therefore, the preceding assignment statement can be verbalized as "m receives the address of count."
Image result for pointer in cTo understand the above assignment better, assume that the variable count uses memory location 2000 to store its value. Also assume that count has a value of 100. Then, after the preceding assignment, m will have the value 2000.
The second pointer operator, *, is the complement of &. It is a unary operator that returns the value located at the address that follows. For example, if m contains the memory address of the variable count,
q = *m;
places the value of count into q. Thus, q will have the value 100 because 100 is stored at location 2000, which is the memory address that was stored in m. You can think of * as "at address." In this case, the preceding statement can be verbalized as "q receives the value at address m."

note:-These are the basic things that we have discussed today for more articles on pointer stay connected with us.

For any kind of doubts feel free to ask on contact us
     
Read More

How to get best Android phone for today: 5 models

Posted by Tushar Bedekar
These days everyone seems to want the latest smart phone to come out, but who can blame them when you look at how rapidly these devices are improving. Technology truly has ramped up the speed at which we consume new products, although that simply means that consumers have more access to better quality materials. Although Apple continues to dominate the smart phone market, there is no question that Android is highly popular and a good percentage of the population would not even consider purchasing a new phone. If you want to get your hands on the latest Android phone's, a good place to start is by doing some research on the internet and checking out the various models that they currently have available. 
Although you might want to go into the store to make your actual purchase, more and more people are preferring to pick up their new smart phones over the internet. This is due in large part to the fact that you can generally get much better deals over the internet, because the online retailers have to compete with all sorts of sites, where as if you were to walk into a store, they do not have much competition. For this reason alone, you should see if you can find a better price online, although it is a good idea to head to the stores to actually get the phones you are looking at in your hand, so you get a feel of whether you like them or not. However, if you are a die hard Android fan, this may not pertain to you, as you likely are going to purchase their products anyway. 
If you are looking into getting a brand new Android phone, you may want to consider some of these models. The Samsung Galaxy Note 5 has gotten great reviews online and is far superior than the previous models that Samsung has put out in the past, which were lacking in a great deal of areas. They Galaxy Note 5 features a top of the line display screen, which has gotten the phone a lot of attention. The overall features in the phone, in regards to multitasking, taking pictures and videos, and maintaining a long battery life, are drastically better than previous Samsung models. 
The LG G4 is one of the highest rated Androids on the market right now and they have been called a great all around smart phone. The display screen is crisp and the camera takes high quality shots consistently and there is no question that the software is drastically improving as well. Samsung has another great Android model out, which is the Galaxy S6. This phone has had some reviews that are calling it hands down the best phone on the market, including the iPhone, which got a ton of people's attention. There is no doubt that this is a high quality phone worth considering and at about three hundred dollars less than the Galaxy Note 5, it may be an overall better purchase.
If you are looking for a bit of a cheaper phone that still has a ton of the same capabilities and looks great, you might want to check out the Moto X. Although this phone is less popular and has gotten lower reviews, the camera is of the utmost quality, the software on the phone is great and it holds a long battery life. The Sony Xperia Z5 Premium is another great phone that will also likely get you a lot of looks. This is due to the fact that they sell a bright gold smart phone, which looks amazing and is on par function wise as the top Androids on the market.

About Author: This article was written by Andy G, a tech geek and Linux guru from Austria. At the present moment he maintains firmware 

and driver download website called http://www.helpjet.net/
Read More

How A Software Actually Works On A Hardware

Posted by Tushar Bedekar
Hi,Today We are going to discuss a new topic which may be very old but important one, also a big question in front of  us.

What is a Program me?

As we all know that a program me is a group of instruction which is needed to be executed by the machine like a computer to perform a certain task.but the biggest question is that how these group instruction are executed on the hardware to perform a assigned task.Basically these instructions which are being executed are itself a group of micro instruction an microcode.which are executed on any machine to execute a one particular instruction. now,

what is programming?

 Actually the programming is nothing but Def:- provide (a computer or other machine) with coded instructions for the automatic performance of a task.But This definition does not gives the full idea about what actually the programming is? and also it does not gives the idea about how the software runs on the hardware.   

As we all have listened about PLA`s(programmable array logic), PAL`s (programmable logical array) and also about FPLA (field programmable logical array).Basically these are the logical devices consisting of arrays of AND & OR gates and also other different supporting devices.These devices may be Hardwired or may be re-programmable.

How To program me these devices?  

Basically devices consist of programmable AND & OR gates.That these arrays consist of fussing and re fussing technology.These fuses may be burned and or lay intact as per the requirement.This fussing can be done generally by supplying a sufficient amount of current through the fuse. 


Types of fuses:- 

  • Metallic Fuses.
  • Diode/Transistors fuses
  • Silicon Fuses.Etc
So by fussing the different fuses the programming can be done.


Publisher's Last Words:

  • If you Find this article incomplete please help us to improve it.I am greatly honored if helps us. contact us
  • If you want to post your article on http://www.allaboutcomputing.net you can contact us at link:- contact us. For more about Computer programming and computer technology or web designing stay connected with http://www.allaboutcomputing.net .
  • I hope you have got answers of some Questions by this small post and I know you have lot of questions, So please feel free to ask in comment section or you can mail me my    e mail id is : tushar.bedekar11@gmail.com 



 


Read More
back to top