What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-18 00:40:02
how to assign struct address to the pointer
#include<stdio.h> struct dog { char name[10]; char breed[10]; int age; char color[10]; }; int main() { struct dog my_dog = {"tyke", "Bulldog", 5, "white"}; struct dog *ptr_dog; ptr_dog = &a... Add solution -
Python 2022-03-17 11:15:05
python code to c code converter
#include<iostream> // Defining MAX size to 10 #define MAX 10 using namespace std; typedef struct Edge { int source; int destination; int weight; }Edge; void bellman_ford_algo(int nodevertex,Edge edge[],int source_graph,int nodeedge) { int... Add solution -
Other 2022-03-17 10:10:41
queue with linked list in c
/* * Program : Queue using linked list * Language : C */ #include<stdio.h> #include<stdlib.h> struct node { int data; struct node *next; }; struct node *front = NULL, *rear = NULL; void enqueue(int val) { struct node *newNo... Add solution -
Other 2022-03-17 04:25:04
Write a program to check whether a grammar is left recursive or not, if it is remove left recursion
1: #include<stdio.h> 2: #include<string.h> 3: #define SIZE 10 4: int main () { 5: char non_terminal; 6: char beta,alpha; 7: int num; 8: char production[10][SIZE]; 9: int index=3; /* starting of... Add solution -
Other 2022-03-13 03:20:09
f# syntax
// single line comments use a double slash (* multi line comments use (* . . . *) pair -end of multi line comment- *) // ======== "Variables" (but not really) ========== // The "let" keyword defines an (immutable) value let myInt = 5... Add solution
Best helpers
Christie
+5
Don Yarber
+5
Mike
+5
Jack Steele
+5
Bossylobster
+5
Tjb1982
+5
Alana
+5
Mythio
+5
Sharp Wit
+5
Rane Chetan
+5
Hongyan
+5
Androider
+5
Ms.Zizmor
+5
Robert Astle
+5
Joshua Burns
+5
Sea shell
+5
Zolani13
+5
Meldie Ching
+5
Nancye S....
+5
Oritatami
+5
FirstLegion
+5