What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-22 12:20:30
Write a program to perform predictive parsing.
#include<stdio.h> #include<conio.h> #include<string.h> void main() { char fin[10][20],st[10][20],ft[20][20],fol[20][20]; int a=0,e,i,t,b,c,n,k,l=0,j,s,m,p; printf("enter the no. of coordinates\n"); scanf("%d",&n);... Add solution -
Javascript 2022-01-22 03:52:00
node.js
NodeJs is Runtime environment for executing Js code, Outside Of Browser. it is build upon Chrome v8 engine using c++. Uses of Node: -can build back-end services like API which can be used as backend for diferent platform Apps(Website, MobileApp, Deskto... Add solution -
Python 2022-01-22 01:40:37
return a tuple c++ python 3
# C++ CODE void divide_modulo(int a, int b, int *div, int *rest) { *div = a / b; *rest = a % b; } # COMPILE WITH gcc -o libexample.so -shared example.c # OR C++ g++ -o libfoo.so -shared example.cpp # PYTHON 3.7 CODE import ctypes lib = ctypes.c... Add solution -
TypeScript 2022-01-22 00:15:10
when a vector in c++ is resized what happens to the elements of the vector
The C++ function std::vector::resize() changes the size of vector. If n is smaller than current size then extra elements are destroyed. If n is greater than current container size then new elements are inserted at the end of vector. If val is specified ... Add solution -
Python 2021-12-23 16:43:24
python negative indexing
list = ["Python", "Java", "C++", "Javascript", "SQL", "PHP"] print(list[-1]) # "PHP" print(list[-4]) # "C++" print(list[:-3]) # ["Python", "Java", "C+... Add solution