Showing posts with label App. Show all posts
Showing posts with label App. Show all posts

Saturday, August 20, 2016

Malloc and Calloc

Difference between Malloc() and Calloc()
1. malloc() takes one argument while calloc() takes two argument
2. malloc() does not initialize the allocated memory while calloc allocated memory intialized with 0.
3. Both are used for dynamic memory allocation.
4. malloc is faster than calloc
5.Example: int *p=(int *)malloc(sizeof(int));
                   int *p=(int *)calloc(10,sizeof(int));

Android Mobile Application Development

Android Mobile Application development is very easy. Mobile Application Development can be done by any body who have a basic programming knowledge of Java, XML, HTML. The tools required to develop a Mobile Application are:
1. Eclipse or Android Studio
2. Android SDK
3. jdk 1.7 and above

In next post I will give you step by step procedure to develop first mobile application.