Write a C program to find Factorial of a user input number, using while loop.
Factorial of a number is the product of all the numbers preceding it. For example, Factorial of 5 is 120 (1 x 2 x 3 x 4 x 5 = 120).
In general, n objects can be arranged in n(n – 1)(n – 2) … (3)(2)(1) ways. This product is represented by the symbol n!, which is called n factorial. By convention, 0! = 1.
http://technotip.com/2294/fetch-json-array-elements-using-jquery-ajax-method-getjson/
Video tutorial illustrates the extraction of JSON Array elements using jQuery AJAX method: getJSON
Here we extract data(JSON ARRAY) from an external JSON file, which has a file extension .json
jQuery Video Tutorial List:
http://technotip.com/2514/jquery-tutorial-list/
...
https://www.youtube.com/watch?v=VAMz-fcDNhs
http://technotip.com/7072/c-program-to-calculate-area-of-a-square-using-its-side/
Lets write a C program to find area of a square by using length of its side. We ask the user to input the length of its side.
Formula To Calculate Area of Square using its side
area = side x side.
Note: All the sides of a square are equal.
Expected Output for the Input
User Input:
Enter the length of side of a square
5
Output:
Area of the Square is 25.00
C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=V-nCBIaMmYQ
http://technotip.com/7264/21-matchstick-game-c-program/
Write a C program for a matchstick game being played between the computer and a user. Your program should ensure that the computer always wins. Rules for the game are as follows:
- There are 21 matchsticks.
- The computer asks the player to pick 1, 2, 3 or 4 matchsticks.
- After the person picks, the computer does its picking.
- Whoever is forced to pick up the last matchstick loses the game.
Note:
break; breaks out of the loop or terminates the execution of the loop.
continue; skips execution of all the code after it in the loop and goes for the next iteration of the loop.
C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=VO_5XTLxKmc
http://technotip.com/3615/text-selection-api-html5/
Before HTML5 we were using select() method to select the entire text/string present in the input field. We did not have more control to specify the selection start and end points ourselves. With HTML5 text selection API's we could specify selection start and end points.
HTML5 Text Selection API:
selectionStart
selectionEnd
setSelectionRange()
...
https://www.youtube.com/watch?v=P9P4ZX8c31E
https://technotip.com/8060/recursive-functions-in-c-programming-language/
Lets learn recursive functions in C programming language, with examples and illustrations of memory and function instances in the stack.
Stake is a Data Structure and we'll be discussing it once we start teaching Data Structures using C topics. For now consider it as a memory stack and some organized structure to hold data, which follows LIFO rule. i.e., Last In, First Out
That is, the last instance which enters the stack is the one which leaves the stack first.
Types of Recursive Functions
There are 4 types of recursive functions:
1. Direct Recursive function.
2. In-direct Recursive function.
3. Tail Recursive function.
4. Non-tail Recursive function.
C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=tUQw_ty97yQ
http://technotip.com/3803/error-handling-in-express-node-js/
User inputs are very unpredictable on the web. So error handling becomes very important while building any real-time web application.
Express facilitates very good support for error handling, with it's connect middleware.
Node.js Video Tutorial List:
http://technotip.com/3674/node-js-video-tutorial-list/
...
https://www.youtube.com/watch?v=noBowQTXSS4
http://technotip.com/4997/project-structure-ionic-2/
Before we move forward with coding, it’s important to know some of the files and folders present inside our ionic 2 project. Since you’re a beginner you might find this video to be confusing and fast paced. But let me assure you, this won’t affect your learning of Ionic 2. How much ever time you spend in understanding the anatomy of an ionic 2 cordova project, you won’t understand it properly until we start coding and utilizing these files and folders for our application needs.
'Ionic 2' Free Video Tutorial List
http://technotip.com/5036/ionic-2-video-tutorial-list/
...
https://www.youtube.com/watch?v=JpB3FafevH4
http://technotip.com/6267/multiplication-of-2-numbers-c/
In this video tutorial you can learn the procedure followed in C programming to multiply two numbers.
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=AFbtnOAH7eE
http://technotip.com/7309/c-program-to-calculate-volume-of-sphere/
Given the value for radius of a Sphere, write a C program to calculate volume of the Sphere.
Formula To Calculate Volume of Sphere
volume = ( 4 * PI * radius * radius * radius ) / 3.0;
OR
volume = ( 1.333 * PI * radius * radius * radius );
where PI is approximately equal to 3.14
C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programming-beginner-to-advance-to-expert/
...
https://www.youtube.com/watch?v=rpQzrFSWj6c