• Register

Recent posts tagged function

29 1 4 min.
Difference between pass by reference and pass by valueWhen a function is called, the arguments in a function can be passed by value or passed by reference.Callee is a function called by another and the caller is a functi...
posted Jun 3 Jeevani 269 points
27 2 2 min.
Gathering BY is utilized related to total capacities to channel the outcomes by a worth. The GROUP BY order can be helpful for survey a select arrangement of results. It is normally utilized, which considers it fundamental to use the legitimate gramm...
posted May 30 amna 112,545 points
6 2 2 min.
You can easily reverse a string by using a reverse method but what if we aren’t allowed to use the reverse method well there are several ways to reverse a string without using the reverse method and one of them is recursion. Recursion:In r...
posted May 23 Huzaifa-Glitch 875 points
6 1 1 min.
Example:func thisIsAFunction() {  }  struct Employee {      func thisIsAMethod() {      }  }  Let's see some differe...
posted May 22 Sanjana Sagar 427 points
0 0 2 min.
How to write callback function in javascriptA callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action.Here is a quick example:function gre...
posted May 20 Sanjana Sagar 427 points
0 0 2 min.
C program to replace a word in a string without using function Algorithm to Replace a substring in a string Input the full string (s1).Input the substring from the full string (s2).Input the string to be replaced with the substring (s3).Fin...
posted May 20 Sanjana Sagar 427 points
0 0 1 min.
Differences between Class and Function TemplatesThe name of a template class is a compound name consisting of the template name and the full template argument list enclosed in angle braces. Any references to a template class must use this complete na...
posted May 19 Sanjana Sagar 427 points
3 0 2 min.
Stored procedure in SQLA stored procedure is a prepared SQL code that can be saved, so the code can be reused multiple times as need. So that, if anyone have an SQL query that he write over and over again, by saving it as a stored procedure, and then...
posted May 17 mhfaisal 262 points
0 0 2 min.
In many of the apps we need some kind of random funtionality. This thing is very esstensial when making games in any language. You can also need it when you have to get some the posts out of all to show. So knowing how to generate random numbers perf...
posted Apr 3 maheerali121 100 points
0 0 1 min.
Question: What are functions?Answer: A function is a chunk of code that performs a particular task and is run only when it is called. Functions are used to avoid repetition of code.Question: What a function syntax?Answer: A function syntax is as foll...
posted Mar 25 Gaurikaa8527 150 points
0 0 3 min.
We use numerous functions in C++ to simplify our process and some of them are built-in C++ itself. The one we are talking about is the transform present in STL. To use this function we have to include header file <algorithm>.What is the use of ...
posted Nov 6, 2020 Lalit Kumar 1,240 points
0 0 2 min.
In this tutorial we are going to discuss how to remove all HTML tags from string PHP by using the strip_tags()strip_tags()The strip_tags() is a function that strips out a string from HTML, XML and PHP tags parameter one. Although we can also use para...
posted Oct 28, 2020 kunal verma 12,140 points
17 0 9 min.
A feature of C ++ is the need to declare the variables that will be used in a program. This is shocking to those approaching C ++ from other programming languages ​​where variables are created automatically the first time they are used. It ...
posted Oct 22, 2020 amna 112,545 points
0 0 3 min.
This is the most important question because many interviewers asked this question that how to reverse a string. So if you are a python on an then you need to know we can reverse the string in Python.So, here we have created a tutorial on this topic a...
posted Oct 19, 2020 Prasandeep Gautam 190 points
0 0 1 min.
The question we will discuss in this article is “Can an html button have two onclick functions?”Answer to the above question is YES!!! We can have two onclick functions in a single HTML button. Onclick just calls or invokes the functions ...
posted Oct 12, 2020 Lalit Kumar 1,240 points
0 0 3 min.
Whenever we invoke or call a function, the program written inside the function runs and does whatever its work is. We can invoke a function simply using its statement but to use a javascript function inside we have to do it in a different way since H...
posted Oct 7, 2020 Lalit Kumar 1,240 points
0 0 1 min.
This article discusses the error “illegal call of non-static member function” by an example with the cause and the solution of the error.Examplechar* GetPlayerNameEx(int playerid) { char Name[MAX_PLAYER_NAME], i = 0; GetPlayerNa...
posted Oct 4, 2020 Lalit Kumar 1,240 points
0 0 3 min.
Summary: show how to generate random string in C , of any length, using srand.Table of contents:Generate random string in C.Function in C.Complete code to generate random string in C.Let's see how to get a random character from a s...
posted Oct 4, 2020 amna 112,545 points
0 0 5 min.
Today we will see an exercise of working with chains or strings in C. It is about seeing a function to insert a chain into another chain, in any position.Table of contents:Algorithm to insert string into substring.Function insert string into another ...
posted Oct 4, 2020 amna 112,545 points
0 0 3 min.
Summary: show how to create a copy of an array in C, so that we can affect one array without affecting the other, even if we pass the array to a function.This is because in C, when we pass an array to a function, it is passed by reference, so if...
posted Oct 3, 2020 amna 112,545 points